In the editor, you can see only one circle moves but I want all the circles to move. This is probably the wrong way to do things but its the way I came up with, so can someone help me out.
But here the condition is true and the round variable gets reset to 0 so when you are trying to move the next circle it’s no more 100 and it only moves the first circle!!
What you can use is the frameCount variable that is counting the number of frames since the beginning of the sketch and it’s exactly what you are doing!