Computer Science
Grade 3
20 min
Sprites and Stages
Sprites and Stages
Tutorial Preview
1
Introduction & Learning Objectives
Learning Objectives
Identify the Sprite and the Stage in the Scratch interface.
Add a new Sprite from the library and choose a new Backdrop for the Stage.
Explain that Sprites have scripts and the Stage has scripts.
Change a Sprite's properties, such as its size and visibility (show/hide).
Position a Sprite on the Stage using simple 'go to x: y:' and 'glide' blocks.
Create a simple program where a Sprite's action causes the Stage's Backdrop to change.
Have you ever wanted to create your own cartoon or video game with characters that move around in different worlds? 🚀 Let's learn how!
Today, we will learn about the two most important parts of any Scratch project: Sprites and the Stage. Sprites are the characters and objects, and the S...
2
Key Concepts & Vocabulary
TermDefinitionExample
SpriteA character or object in your Scratch project that you can program to move, talk, and interact with other things.The orange cat that appears when you start a new Scratch project is a Sprite.
StageThe background of your project where all the action happens. It's like the setting of a play or the world in a game.The big white area on the right side of the Scratch screen is the Stage.
BackdropAn image that you can put on the Stage to show a setting, like a castle, a forest, or outer space.You can change the white Stage to a picture of a basketball court. The basketball court is the Backdrop.
ScriptA set of code blocks linked together that tells a Sprite or the Stage what to do. It's like a recipe or a list of instructions.A script could be a 'when g...
3
Core Syntax & Patterns
Sprites Have Their Own Scripts
Each Sprite has its own coding area. Code you write for one Sprite only affects that Sprite.
When you want a character to move or talk, you must click on that Sprite first and then drag the code blocks into its script area. Don't put the cat's code on the dog!
The Stage Has Its Own Scripts
The Stage can also have scripts, but they are usually for changing the background or playing background music.
Click on the Stage in the bottom right corner to write code for it. You can't use motion blocks on the Stage because the background can't walk around.
Events Start Everything
A script won't run until an event happens. The most common event is 'when green flag clicked'.
Always start your stacks of code blocks...
4 more steps in this tutorial
Sign up free to access the complete tutorial with worked examples and practice.
Sign Up Free to ContinueSample Practice Questions
Challenging
You want a ghost sprite to appear at a random spot, wait 2 seconds, then disappear and do this forever. Which set of blocks is essential to make this happen?
A.'repeat 10' loop, a 'move 10 steps' block, and a 'show' block
B.'when this sprite clicked' block and a 'next costume' block
C.'forever' loop, 'go to random position', 'show', 'wait', and 'hide' blocks
D.An 'if...then' block, a 'glide' block, and a 'hide' block
Challenging
In a game, your player sprite must not touch a moving obstacle sprite. What is the most important condition to check for to make the player lose the game?
A.An 'if <touching [obstacle]?>' block on the player sprite
B.An 'if <x position> > 200' block on the obstacle sprite
C.An 'if <key up arrow pressed?>' block on the player sprite
D.An 'if <touching color [#000000]?>' block on the Stage
Challenging
You want a shark sprite to follow the mouse-pointer, but ONLY when the pointer is in the bottom half of the Stage. Which code logic would work best?
A.forever { if <(x position) < 0> then { go to [mouse-pointer] } }
B.forever { go to [mouse-pointer] }
C.forever { if <(y position) > 0> then { go to [mouse-pointer] } }
D.forever { if <(mouse y) < 0> then { go to [mouse-pointer] } }
Want to practice and check your answers?
Sign up to access all questions with instant feedback, explanations, and progress tracking.
Start Practicing Free