I used a sine to make them move within a pattern. Sine and Cosine are functions of an angle. Go here: https://en.wikipedia.org/wiki/Sine_and_cosine To learn more about it