Your method is fine, but the angle needs to be specified.
Wait, if the caster is in the center, then angle from caster to enumunit is 'outwards', and the opposite of that is inwardsAlso note that the angle should be angle between caster and picked unit - 180.
That will cause the units to move directly away from the casting unit.
Here you go. An example attached.