stage.set_background("grid") stage.set_background("city") sprite = codesters.Sprite("butterfly") sprite.set_color("white") sprite.pen_width(20) sprite.set_speed(2) sprite.go_to(-150, 150) sprite.pen_down() sprite.glide_to(0, 0) sprite.glide_to(150, 150) sprite.glide_to(0, 0) sprite.glide_to(0, -200) sprite.pen_up() sprite.go_to(50, 200) sprite.pen_down() sprite.glide_to(-50, 200) sprite.glide_to(-50, 100) sprite.glide_to(50, 100) sprite.glide_to(50, 150) sprite.glide_to(0, 150) sprite.set_color("pink") sprite.pen_up() sprite.pen_width(10) sprite.set_speed(2) sprite.go_to(-150, 150) sprite.pen_down() sprite.glide_to(0, 0) sprite.glide_to(150, 150) sprite.glide_to(0, 0) sprite.glide_to(0, -200) sprite.pen_up() sprite.go_to(50, 200) sprite.pen_down() sprite.glide_to(-50, 200) sprite.glide_to(-50, 100) sprite.glide_to(50, 100) sprite.glide_to(50, 150) sprite.glide_to(0, 150) stage.remove_sprite(sprite) stage.set_background_color("white")
Support