STEP 5: Let's use dot notation to make our sprite go forward!

  • Go to and drag out Move Forward. Drop it at the bottom of your program.
  • Change the name in front of .move_forward() to the sprite's name, astro.
  • Change the integer in the .move_forward() command to 3.

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)