Please update your browser
Your browser version is not supported by this site. CS First may not work properly.
To give your sprites more personality, program them to show different emotions based on the
In this video, you will use blocks from the Looks menu to change your sprite’s appearance.
In Scratch, a sprite’s appearance is called a “costume.”
Click the costumes tab to see the different options.
Click each costume.
The sprite’s appearance changes.
Clicking the sprite’s costume every time you want to change its appearance could get
Luckily, Scratch allows you to automate this process and save time by dragging out a few
In this example, the code makes Carmen’s facial expressions change when she talks to
Molly and reacts to the glitch.
You will program an animation that makes sense for your project.
To start, select a sprite to animate.
Then, click the Scripts tab.
Program your sprite to change costumes using blocks from the “looks” menu.
Click the “switch costume to” block to see what happens.
Carmen changes costume.
This is the block you will use to make your sprite change facial expressions.
Drag out several “switch costume to” blocks from the Looks menu, and snap them together.
Click to test.
The sprite’s expression does not change because all three blocks specify the same
Click the dropdown menus to select more costumes.
This example uses Carmen1, Carmen2, and Carmen3.
Click the block stack to test again.
The costume change happens so fast, you can’t see it.
To fix this, place “wait” blocks from the Control menu between the “switch costume
Next, program the sprite’s costume changes to happen at the right time in your project.
From the “events” menu, drag out a block that runs the code at a specific time.
This example uses a “when backdrop switches to” block.
Attach it to the top of the block stack.
This block runs the code attached to it when the program switches to a specific backdrop.
This example chooses the backdrop “Hallway1” from the dropdown menu.
That way, the sprite’s costume change happens when the program switches to the “Hallway
Choose a backdrop from the dropdown menu, then click the green flag to test.
Great, the program works, but the sprite’s costume changes do not match what’s happening
in the scene.
To fix this, tinker with the values in the “wait” blocks to make the costume changes
happen at the right points in your story.
Click the green flag to test again.
The costume changes match the story.
Animate additional characters by changing their appearances.
To do this, select the sprite, and use “switch costume to” and “wait” blocks.
Now it’s your turn…
Select a character to animate.
Review the costumes for that character by clicking the Costumes tab.
Choose several costumes using “switch costume to” blocks.
Add “wait” blocks to sequence your story.
Specify when the code should run by using an Events block
Finally, animate additional characters using “switch costume to” and “wait” blocks.