# Project Work Day --- CS 65 // 2021-05-04 ## Pro Tip of the Day - Many of your projects have objects that move even when the user isn't clicking or pressing a key - In this case, you do NOT want to use `getMouse()` or `getKey()` because they "pause" the program and wait for the user to do something - Instead, you can use `checkMouse()` and `checkKey()` which do not "pause" and will return `None` if the user hasn't done anything recently ## Using `checkKey()` ```py while win.isOpen(): circ.move(1,0) key = win.checkKey() if key == "Right": sq.move(10,0) elif key == "Left": sq.move(-10,0) elif key == "Up": sq.move(0,-10) elif key == "Down": sq.move(0,10) update(60) ``` # Questions ## ... about anything? # Course Evals # Project Time