EXTEND: Now customize your program! Make sure you complete these minimum technical requirements:

  1. Try changing the background image or the sprite image.
  2. Look in to find the Set Color tool to change the pen color.
  3. Change the color in your Set Color command. Click Submit and Next to move on to your Create!

You won't be able to change the locations of the Codesters or Mars for this activity.

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) sprite.glide_to(150, 100) sprite.glide_to(-150, 200) sprite.glide_to(-200, 50) sprite.glide_to(-200, -200) sprite.turn_left(360)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)