PREVIEW: Today we are going to use events to make another dance routine. This time we will run each dance move by pressing a different key on the keyboard.

  • Click Run, then use the space bar, left key, right key, space bar, 's' key, and 'a' key to see the sprite's moves!
  • Look at line 10, 18, 24, 31, and 36. These are the key event handlers.
  • Click Submit and Next to start today's lesson!

# THIS ACTIVITY IS IN PREVIEW ONLY MODE