1. first you would have a window.getMouse()
2. you would have while True: meaning if the user clicks on the mouse,
3. move the circle up,
4. under the while loop, set the window.checkMouse() to a variable, because when running, it is checking outside the loop first.
5. then have while is not equals to None:
move the circle down,
Tip: don't forget to add the time to pause under both while loops
Hope this makes it clearer!