With a small bit of Trigononmetry, its possible, all you are really doing here is using math.sin()
and math.cos()
to create a circle around the object, and dividing the circle into 8 parts, and placing the points into each corresponding part.
From there you can apply an “offset” direction to have them move into the said random direction.