This project demonstrates the difference between using a
for each or
while loop or a Clock
Timer to move a Ball sprite.
When using a for each or while loop to move a sprite, the sprite will appear to jump from the starting position to the ending position rather than showing each of it's movements in-between.
There will also be a perceptible delay between starting and ending positions.
With a Clock Timer and counter variable, a loop structure can be formed which will display each movement of the sprite.
This is likely to be more pleasing and natural to the user.
Try the project to see this for yourself.


---
END