LEARN · PRACTISE · DISCOVER
Sprites and Backdrops
Every Scratch project needs characters and a place for them to be. Characters in Scratch are called sprites, and the backgrounds are called backdrops. In this lesson you will add new sprites, choose a backdrop and learn about costumes.
Adding a sprite
At the bottom right of the screen, hover over the Choose a Sprite button (the round button with a cat face). You can:
- Choose a Sprite from the Scratch library, such as animals, people and objects
- Paint your own sprite
- Surprise yourself with a random sprite
- Upload a picture from your computer
Every sprite has its own scripts. Click a sprite in the sprite pane to see and edit its code.
Deleting a sprite
If you do not want a sprite, click the small bin icon on its thumbnail in the sprite pane. You can delete the Scratch Cat if you want to start fresh.
Choosing a backdrop
At the very bottom right, use the Choose a Backdrop button to pick a background. There are backdrops for space, forests, beaches, cities and many more. You can also paint your own.
Switching backdrops with code
Use the Looks block switch backdrop to (backdrop1) to change the scene in a story. For example, a story could start in a bedroom and switch to a park.
Costumes
Each sprite can have several costumes, which are different pictures of the same sprite. Click the Costumes tab at the top left to see them. The Scratch Cat has two costumes that make it look like it is walking.
| Block | What it does |
|---|---|
switch costume to (costume2) | changes to a chosen costume |
next costume | moves to the next costume in the list |
change size by (10) | makes the sprite bigger |
show and hide | make the sprite appear or disappear |
Painting and editing
In the Costumes tab you can use the paint editor to change colours, draw hats, add stripes or make your own costume. Try giving the Scratch Cat a party hat!
Naming sprites
Give your sprites helpful names, like Player, Apple or Dragon, instead of Sprite1 and Sprite2. You can change the name in the box above the sprite pane. Good names make your code easier to understand, especially in big projects.
Example
Omar made an underwater scene. He chose the Underwater 1 backdrop, then added a fish sprite and a shark sprite. He renamed them “Nemo” and “Bruce”. When the green flag was clicked, Nemo said, “Let’s explore the reef!”
Key takeaways
- Sprites are the characters and objects in a Scratch project.
- Backdrops are the backgrounds on the stage.
- Costumes are different looks for the same sprite.
- Give sprites clear names to keep projects organised.
Practice
Create a scene with a backdrop of your choice and two sprites. Give each sprite a name. When the green flag is clicked, make one sprite say something and grow bigger.
Answer: one solution is a jungle backdrop with a Lion and a Parrot. The Parrot’s script is when green flag clicked, say (Squawk! Hello!) for (2) seconds, change size by (20).