In my program I'm moving a sprite using the .setPosition in a while loop. In the loop, each iteration redraws the sprite at a new position and then clears the previous iteration .draw, which effectively animates the movement of the sprite across the program. But is there a better way to move around sprites? I really feel like there must be something better. Any tips would be greatly appreciated, thanks!