STEP 5: Now we'll add an alien. Since we'll have more than one character, we'll have to give them different names!

A sprite's name is the orange word before the equals sign. We use a sprite's name to give it commands.

  • Go to and drag Alien 1 into your program. Notice, the name in your new line of code is sprite.
  • Change the name before the equals sign = to glorp.

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

stage.set_background("moon") sprite = codesters.Sprite("astronaut1") sprite.go_to(-125, -150)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)