This is a demo. Just click the Green Flag and watch. You can also adjust the ball speed with the slider. Click No Draw Mode to get rid of the lines and just watch the balls move around.
The sprites Ball1 to Ball5 each head towards the next ball in the list and away from the previous ball in the list. For example, Ball3 heads towards Ball5 but away from Ball2. These simple rules produces interesting movement behavior. The lines drawn by the balls shows you their movement path. (The zig zag is caused by the minor movement towards and away from the two different balls they chase and run away from.)