STEP 3: Remember that each sprite has a variable name. This is the word to the left of the = sign.

  • Change the sprite's variable name from sprite to astro.
  • When you are done, click Submit and Next.

When you assign actions to astro later in the program, you must use the variable name astro instead of sprite. If you don't, you will get an error!

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)