Sprites, either user-created, uploaded, or found in the sprites library, are the objects that perform actions in a project. While the Stage can also be programmed in a project, most projects have at least one sprite as well because only sprites can move.
Creating a Sprite
- The Tobi button allows you to choose a sprite from the library.
- The paintbrush button creates a blank sprite with an empty costume.
- The folder button allows you to upload a sprite from your computer.
- The camera button allows you to take a picture and uses that image as the costume.
When a sprite is created, it will place that sprite at a random location on the Stage, usually around the center, and open the sprite in the tab you’re currently viewing.
To name a sprite, click on the info button on the top left corner of the sprite. When you click it you can type what you want it to be called inside the box that says the sprite’s name. The other functions you can find here are rotating, allowing you to be able to drag the sprite around when you’ve put it in full screen or shared it, and making it show and hide.
Each sprite in a Scratch project has an area for scripts, called the scripts area. Users can give instructions to a sprite (such as telling the sprite to move) by snapping blocks together in the scripts area. Clicking on the block(s) in the script area will cause the sprite to react based on the function of the block(s) clicked. Clicking on a sprite’s thumbnail in the sprite pane will bring up the script area of that sprite.
The look of a sprite can also be changed by using costumes. The current costume of a sprite can be changed by clicking on the “costumes” tab and clicking on the desired costume of choice, or by using Looks blocks to select the sprite’s costume. New costumes for the sprite can be imported, created, and edited in the Scratch Paint Editor.
Some sprites additionally have at least one sound. Unlike costumes, sounds are an optional field, so you can have a sprite with no sounds. The sounds tab allows you to add, delete, and edit sounds. Sounds can be played in the sound editor or with blocks that play a specific sound.
Sprites (with all of their scripts, costumes, and sounds) can be exported, and then imported into another project if desired. This is achieved by right-clicking on a sprite’s thumbnail in the sprite pane and then selecting “save to local file” in the pop-up menu. A sprite can also be dragged into the backpack and dragged out into another project for transporting. However, this will not save the sprite to one’s computer.