STEP 8: We're in space; let's add an asteroid! Asteroids are pieces of rock and metal that orbit that orbit the sun.

  • Go to and drag Asteroid into your program.
  • Change the name of the asteroid sprite to rock.

Remember a sprite's name is the orange word before the equal sign =.


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