Category:Sprites

Creates a new sprite of the chosen costume at the given location.

This block customizes how the sprite looks and where it starts on the display. The costume drop down menu gives a variety of sprite costumes to choose from and also has the option to draw a costume. A location block can be attached at the end of the block to control where the sprite will appear on the display.

Parameters

NameDescription
location The location where the sprite appears on the display
costume Each Sprite Lab project or level will include some default sprite costumes, but you can also choose from a larger costume library or draw your own using the built-in pixel editor.

Tips

  • The default starting location of the sprite is 200, 200. Play around with different location blocks to customize where the sprite appears.

Found a bug in the documentation? Let us know at documentation@code.org