Activity: Add Alien
I'M FINISHED WITH HOUR OF CODE!
img

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.

stage.set_background("moon") sprite = codesters.Sprite("astronaut1") sprite.go_to(-125, -150)
Support