How do I get ALL troops to move right?

I’m stuck on the level “Hunting party”, and I am wondering is it possible for me to move all troops right the same distance? Please help ASAP!

Loop over all your friends and command them to move what ever value plus their X – coordinate.