For example, you have character 1, character 2, character 3, character 4

You click 1,2,3 and right click the Number 4, they will automatically follow character 4 around wherever he goes, if that character gets attacked during the move, the other characters will stop to attack the enemies who are attacking that character.