On a canvas, I added 10 small squares, but I want to be able to change the position of these squares continuously, and that this change is drawn on the screen whenever I do (I do not necessarily need an animation, just understand how I can update the canvas any time you want). How can I do this?