Processing Forum
I have been set an assignment to make a counter game, to move an ellipse on the board in a direction depending on where on the screen the mouse was pressed. What I am hoping somebody can help me with is how I can get the program to redraw the background each time the mouse is pressed so that I do not have multiple ellipses, and also, after the mouse has been pressed on one part of the screen, when it is pressed again, it does not redraw the function. I have attempted to put in a loop function but it doesn't work. Any ideas?