STEP 10: Let's send our sprite to the next spot! Run your program to see the next snowflake!

  • Click on . Drag a Glide To command into the bottom of your program.
  • Change the coordinates in the .glide_to() command to get to the next snowflake.

stage.set_background("winter") sprite = codesters.Sprite("snowman") sprite.set_size(.5) sprite.pen_down() sprite.glide_to(5, -6) def collision(sprite, hit_sprite): hit_sprite.hide() # add any other actions... sprite.event_collision(collision) sprite.glide_to(5, 1) sprite.glide_to(0, 6)