Rts Squad Logic

Hello everyone, please help me, I’m working on creating a strategy and I need to implement a squad system like in the picture, selecting and moving an entire squad at once with a mouse clickworld_of_battles