WARNING: This program has a bug, which means we need to fix it! This bug is a logic error.

RULE: The handler listens for the signal to run the event. It should not be indented.

  • Click Run and press the right arrow key. Watch the stage to see what's wrong with the program.
  • The butterfly should move when we press the right arrow key to run the event, but it isn't.
  • Debug the program so that the butterfly moves across the scene when the right arrow key is pressed.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE