STEP 11: The player will use the arrow keys to move the rocket around the stage!

  • Go to and drag Up Key to the bottom of your program, outside of the loop.
  • Assign the indented .move_up() command to spaceship using dot notation, by changing sprite to spaceship.
  • Click Run and press the Up arrow key to test your program.

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)