STEP 9: Run your program to find the next snowflake!

  • Click on . Drag Glide To into the bottom of your program.
  • Change the numbers in your .glide_to() command to direct your sprite to the next snowflake.
  • Remember, when the coordinate is on an axis, that means one of the numbers must be 0.

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)