Meet Scratch
What is Scratch?
Scratch is a visual programming language made especially for kids and beginners. Instead of typing complicated code like professional programmers do, you build programs by snapping colourful blocks together — just like LEGO!
Scratch was created by a group called the Lifelong Kindergarten Group at MIT (a very famous university in the USA). It's completely free, works in your web browser, and is used by millions of kids and even adults all over the world.
The Scratch Interface
When you open Scratch, you'll see three main areas. Learning these is your first step to becoming a Scratch creator!
── LEFT PANEL ────────────────────────────── Blocks Palette → All the coding blocks, sorted by colour Code Area → Drag blocks here to build your program ── RIGHT PANEL ───────────────────────────── Stage → Where your project plays (480 × 360 pixels) Green Flag 🚩 → Click to START your project Red Stop ⛔ → Click to STOP your project ── BOTTOM PANEL ──────────────────────────── Sprite List → All your sprites shown as thumbnails Backdrop List → All your backgrounds
Your First Blocks — Motion
Let's make something happen! The Motion blocks (blue) control where sprites move on the stage. Here are the most important ones to know:
move (10) steps → Move forward by 10 pixels turn ↻ (15) degrees → Rotate clockwise by 15° turn ↺ (15) degrees → Rotate anticlockwise by 15° go to x: (0) y: (0) → Jump to centre of stage if on edge, bounce → Bounce when hitting the wall set rotation style → Choose how sprite turns
x:0, y:0. Moving right increases X, moving left decreases X. Moving up increases Y, moving down decreases Y. Don't worry — you'll get used to this very quickly!Build Your First Project: Hello, Cat!
Let's put it all together! Follow these steps to build your very first Scratch project — a cat that moves when you click the green flag.
when 🚩 clicked block into the code area. This is your "start" block!move (10) steps and snap it under your Events block. Then add if on edge, bounce under that.forever block (orange, shaped like a mouth). Wrap it around your motion blocks so the cat keeps moving!when 🚩 clicked forever move (10) steps if on edge, bounce
next costume block inside the forever loop to make the cat's legs animate as it walks! You'll find it in the Looks section (purple).Lesson Summary
Great work! Here's everything you covered in Lesson 1:
when 🚩 clicked block starts your program. The forever loop runs code repeatedly.forever block do?Open Scratch and build the project described below. Take your time and have fun!
Build a project where the Scratch Cat walks back and forth across the stage AND animates its legs as it moves.
Your program should:
1. Start when the green flag is clicked
2. Move 10 steps continuously using a
forever loop3. Bounce when it hits the edge of the stage
4. Switch costumes every step so the legs move (use
next costume from Looks)5. Use
set rotation style left-right so the cat doesn't flip upside down
💡 Show hints if you're stuck
- Start with the
when 🚩 clickedblock from Events - Add a
foreverloop from Control - Inside the loop:
move (10) steps, thenif on edge, bounce - Also inside the loop:
next costumefrom Looks to animate - Before the loop, add
set rotation style [left-right]from Motion