STEP 2: Let's add a move for dancer!

  • Go to and drag Left Key to the bottom of your program.
  • INSIDE the left_key() event, change the integer in .move_left() to 100.
  • Assign the .move_left() to dancer by changing the variable name from sprite to dancer.
  • Run your program and press on the left arrow key to test out your event!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)