What is an event handler?
An event handler runs all the time, even before its event happens.
Circle one: True False
A sprite moves when you press the right arrow. Which handler runs?
In a homework app, you can type answers into boxes, but nothing happens until you press the Submit button. Pressing Submit is what makes the program process your answers. In an event-driven program, what is the button press?
You want a sprite to change colour on a click, but it changes when you press a key instead. What is the most likely cause?
Why does an event-driven game look like it is doing nothing on the start screen?
A program waits with a handler attached to a Submit button. You type into an answer box but never press the button. True or false: the handler code runs while you are typing.
Circle one: True False
Clicking the green button should change the text colour, but nothing happens. The handler is on the red button. What is wrong?
Space should make a sprite jump, and a click should turn it blue. A tester presses Space and the sprite turns blue without jumping. What happened?
A button should turn green only after you type your name, but it is green at once. What would you check?