Lesson 1 — What is Scratch? Your First Animation
What you'll achieve: an animated sprite that moves, changes costume and plays a sound.
- Sprite
- A character or object on the Scratch stage.
- Script
- A stack of blocks that tells a sprite what to do.
- Event block
- A block like "when green flag clicked" that starts a script.
I Do
This is your first proper introduction to coding. Everything you learn in Scratch this term — moving sprites, giving instructions, making decisions — is building towards something bigger: later this year you'll use these same coding ideas to control real, physical micro:bit devices. Today is about learning the basic building blocks that everything else depends on.
Log in to Scratch using the account details you've been given — go to scratch.mit.edu/login and enter your username and password.
- Click Create at the top of the screen to open a new project.
- Point out the four main areas: the Stage (top right, where everything happens), the Sprite list (bottom right, characters in your project), the Block palette (left, organised by coloured categories), and the Scripts area (middle, where you build code by dragging blocks).
- Click the Motion category (blue) in the block palette.
- Drag the block "move 10 steps" into the middle scripts area.
- Click directly on that block in the scripts area — the sprite moves. That's the whole idea of Scratch: no typing, just dragging blocks and clicking them to test.
We Do
- Everyone drag out "move 10 steps", then underneath it snap on "turn 15 degrees" (also in Motion). Click the stack to test it — the sprite should move forward, then turn.
- Click the Events category (yellow). Drag "when green flag clicked" and snap it on top of your stack, above "move 10 steps".
- Click the Looks category (purple). Drag "next costume" and snap it onto the bottom of your stack. Then add "say Hello! for 2 seconds" underneath that.
- Click the Sound category (pink/magenta). Drag "play sound Meow until done" and snap it onto the very bottom of the stack.
- Click the green flag above the Stage (top right) to run the whole script from the start. Check every block fired in order.
You Do
- Click the cat icon with the + symbol under the Sprite list to choose a new sprite from the library — pick anything you like.
- Build your own script starting with "when green flag clicked" from Events.
- Add at least one block from Motion (make it move or turn).
- Add at least one block from Looks (change costume or say something).
- Add at least one block from Sound (play a sound).
- Click the green flag to test. If nothing happens, check that every block is snapped together with no gaps — a floating block never runs.
- Go to File → Save to your computer (or ask your teacher how your class saves projects) once it's working.
Before You Go
What did you learn today?
BLC