STEP 10: Let's pick up another Codester!

  • Run the program to find the our third Codester.
  • Click on . Drag out another Glide To command and drop it at the bottom of your program.
  • Change the x,y coordinates in the .glide_to() command to pick up the third Codester.

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

stage.set_background("space") sprite = codesters.Sprite("ufo") sprite.set_size(0.4) sprite.go_to(-200, -200) sprite.pen_down() sprite.glide_to(-100, -100) def collision(sprite, hit_sprite): hit_sprite.hide() # add any other actions... sprite.event_collision(collision) sprite.set_speed(2) sprite.glide_to(150, -100)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)