🐱 Coding with Scratch

Coding with Scratch

⏱ 3 hr3 topicsInteractive
🎯 By the end: You can describe the Scratch interface, use Motion and Looks blocks, start a script with the Green Flag, and build a simple animation with sound.

Scratch is a fun way to start coding — you build programs by snapping coloured blocks together, no typing needed. This chapter introduces Scratch and gets a character moving and talking.

1Computational thinking & the Scratch interface

Computational thinking means solving a problem step by step — putting instructions in the right sequence. A computer does exactly what you tell it, in order, so the order matters!

The Scratch screen

PartWhat it is
StageThe area where your program runs and you see the action
SpriteA character/object you control (the cat is the default)
Blocks PaletteThe coloured blocks you can use (Motion, Looks, Sound…)
Script AreaWhere you drag blocks and snap them together
Costumes / SoundsDifferent looks of a sprite / sounds it can play
Key points
  • Computational thinking = solving a problem in the right step-by-step sequence.
  • Scratch parts: Stage (where it runs), Sprite (the character), Blocks Palette, Script Area.
  • Costumes are a sprite's different looks; Sounds are the sounds it can play.

2Motion & Looks blocks

You make the sprite do things by snapping blocks together. Two common groups:

GroupExample blocksDoes
Motion (blue)move 10 steps, turn 15 degreesMoves & turns the sprite
Looks (purple)say "Hello!", think "Hmm", next costumeSpeech bubbles & changing appearance
move 50 steps
say "Hi, I am Scratch Cat!"
turn 90 degrees
Key points
  • Motion blocks (blue) move and turn the sprite (move steps, turn degrees).
  • Looks blocks (purple) show speech (say, think) and change appearance (next costume).
  • You build a program by snapping blocks together in order.

3Events, Wait & a first animation

A program needs a way to start. The most common is the Green Flag event:

when  green flag clicked
say  "Hello!"  for 2 seconds
move  100 steps
wait  1 seconds
next costume
  • when green flag clicked — runs the script when you click the green flag.
  • wait 1 seconds — pauses, so movements aren't instant — this is how you control timing.

By combining moves, costume changes, waits and a sound, you create a simple animation with sound — like the cat walking and meowing.

Key points
  • The 'when green flag clicked' event starts a script.
  • A 'wait' block pauses the program so movements and animations have timing.
  • Combine motion, costume changes, waits and a sound to make a simple animation.

★ Practical: make the cat dance

In Scratch, build a script that:

  1. Starts with 'when green flag clicked'.
  2. Makes the sprite say 'Let's dance!' for 2 seconds.
  3. Moves and turns the sprite a few times with 'wait' blocks between.
  4. Switches between two costumes and plays a sound.

Ready for the chapter test?

Answer 5 questions. Score 60% or more to mark this chapter complete.

Start the test →

💡 Log in to save your progress and earn the certificate.