- Learnt27 min · say, think, a second sprite, wait timing, broadcast
- Basic25 min · build the eight-line chat, twice
- Challenge 1–327 min · a new script, a new cast, a second scene
- Extrabonus · a third voice joins in
Review — where we got to 5 min
Last lesson you made the cat move. You learnt three things:
- A bigger number in
repeat (10)goes further. - A bigger number in
move (10) stepsgoes faster. - Every script needs
go to x: (0) y: (0)andpoint in direction (90 v)at the top. Without them, the second run is different.
Quick-fire
Read this stack. Where does the cat end up, and which way is it facing?
when flag clicked
go to x: (0) y: (0)
point in direction (90 v)
move (200) steps
turn cw (90) degrees
Reveal the answer
At (200, 0), facing down. That is 200 pixels right of the centre. The turn happens after the move. A turn never moves the cat to a new place.
Today’s Topic 3 min
- Looks blocks — make a sprite say something
- Rotation style left–right, so a new character faces the right way
- Using
wait (1) secondsto time a chat - Broadcast — a much better way to run a chat
Learning outcome
By the end of this lesson you will be able to:
- Add a second sprite and turn it to face the first one.
- Write an eight-line chat with
say [Hello!] for (2) secondsandwait (1) seconds. - Rebuild the same chat with
broadcast [message1 v]andwhen I receive [message1 v]. Say why that version still works when you change it.
Learnt — making sprites talk 27 min
Say and think
Open Looks. The first four blocks are the talking ones.
A say bubble is said out loud. A think cloud is a thought in the head. The blocks have the same shape. The pictures are different.
| Block | What it does | When to use it |
|---|---|---|
say [Hello!] for (2) seconds | A bubble shows, waits 2 seconds, then goes away by itself | Almost always. This is your talking block |
say [Hello!] | A bubble shows and stays until something changes it | A label that must stay on screen |
think [Hmm...] for (2) seconds | The same, as a thought cloud | What a character is thinking but not saying |
think [Hmm...] | Thought cloud that stays | Not often. It looks stuck |
How to use this: Click the green flag to start it. Nothing else to press — watch it through, then use ↺ Reset to run it again.
Add a second character
One sprite talking to itself is not a conversation (a chat). You need a second one.

- Find the round cat button at the bottom right of the Sprite panel. Hold your mouse over it.
- Click the magnifying glass. That is the library.
- Find Dog2 and click it.
Turn it round
The dog comes in facing right, with its back to the cat. You change two settings to turn it round.

- Click the Direction box and set it to −90. The dog now faces left. But it is upside down.
- Click the middle rotation-style button, left / right. Now the dog flips round. It does not turn upside down.
Why upside down? The first rotation style spins the whole picture of the sprite. Your cat used it last lesson when it tipped over.
How to use this: Click the green flag to start it. Nothing else to press — watch it through, then use ↺ Reset to run it again.
Now rename both sprites to Cat and Dog. Soon you will write a script for each one. A name like Sprite1 tells you nothing.
Timing a chat with waits
Here is the chat the class is building:
| # | Who | Line |
|---|---|---|
| 1 | Cat | Hi Doggy! |
| 2 | Dog | Hi Catty! |
| 3 | Cat | What’s up! |
| 4 | Cat | How are you? |
| 5 | Dog | Quite busy lately… |
| 6 | Dog | I’m going to have my lunch |
| 7 | Dog | Wanna grab some food together? |
| 8 | Cat | Sure! Let’s go! |
Both sprites start on the same green flag. So each one must wait while the other one talks.
Every line lasts 1.5 seconds. That makes the sums easy. When the other character says two lines, you wait 3 seconds.
when flag clicked
say [Hi Doggy!] for (1.5) seconds
wait (1.5) seconds
say [What's up!] for (1.5) seconds
say [How are you?] for (1.5) seconds
wait (4.5) seconds
say [Sure! Let's go!] for (1.5) seconds
when flag clicked
wait (1.5) seconds
say [Hi Catty!] for (1.5) seconds
wait (3) seconds
say [Quite busy lately...] for (1.5) seconds
say [I'm going to have my lunch] for (1.5) seconds
say [Wanna grab some food together?] for (1.5) seconds
Why this breaks when you change it
Add one line in the middle. Now every wait after it is wrong by 1.5 seconds. Both characters talk at once. The bubbles cover each other. With eight lines that is annoying. With thirty lines it is hopeless.
Broadcast — acting on cues
Actors in a play do not use stopwatches. They wait for a cue. A cue is a signal that says “your turn”.
When you hear your cue, you say your line. Scratch has this too, in Events.
| Block | Category | What it does |
|---|---|---|
broadcast [message1 v] | Events | Sends a message with a name to every sprite and the Stage. The sprite that sent it hears it too |
when I receive [message1 v] | Events | A hat block. It runs its stack when it hears that message. A sprite without this hat does nothing when the message comes |
Click the small arrow on the block. Choose New message to name your own. Give cues useful names, like dog 1 and cat 2. Do not use message1 and message2.
How to use this: Click the green flag to start it. Nothing else to press — watch it through, then use ↺ Reset to run it again.
The chat now splits into short stacks. Nobody counts seconds. At the end of its turn, each stack calls the next one.
when flag clicked
say [Hi Doggy!] for (1.5) seconds
broadcast [dog 1 v]
when I receive [dog 1 v]
say [Hi Catty!] for (1.5) seconds
broadcast [cat 2 v]
Basic — build it both ways 25 min
You are going to build the same eight-line chat twice. Once with waits, once with broadcasts.
Building it twice matters. The second way is easier. You only feel that after you try the first way.
Step 1 — set the stage
Start a new project. Name it T1.2 – your name. Add the Hall backdrop. Add Dog2. Rename the two sprites Cat and Dog.
Step 2 — line them up
Drag the Cat to about (−120, −40) and the Dog to about (110, −30). Set the Dog’s rotation style to left / right. Set its direction to −90.
Step 3 — the Cat’s waits version
Click the Cat. Build its seven-block stack from the Learnt part. Click the flag. The cat talks to itself, with gaps in the middle. That is right so far.
Step 4 — the Dog’s waits version
Click the Dog. Build its stack. Click the flag. Now the two animals have a chat. Watch it to the end. Check that two bubbles are never on screen together.
How to use this: Click the green flag to start it. Nothing else to press — watch it through, then use ↺ Reset to run it again.
Step 5 — break it on purpose
Add one more line to the Cat: say [Nice weather!] for (1.5) seconds after line 4. Run it again. Now the rest of the chat overlaps. Do not fix it. Just look.
Step 6 — start the broadcast version
Delete the wait (1) seconds blocks from both sprites. Split each script into turns. Then make four messages: dog 1, cat 2, dog 2, cat 3.
Step 7 — the Cat’s three stacks
when flag clicked
say [Hi Doggy!] for (1.5) seconds
broadcast [dog 1 v]
when I receive [cat 2 v]
say [What's up!] for (1.5) seconds
say [How are you?] for (1.5) seconds
broadcast [dog 2 v]
when I receive [cat 3 v]
say [Sure! Let's go!] for (1.5) seconds
Step 8 — the Dog’s two stacks
when I receive [dog 1 v]
say [Hi Catty!] for (1.5) seconds
broadcast [cat 2 v]
when I receive [dog 2 v]
say [Quite busy lately...] for (1.5) seconds
say [I'm going to have my lunch] for (1.5) seconds
say [Wanna grab some food together?] for (1.5) seconds
broadcast [cat 3 v]
when flag clicked at all. It only answers.How to use this: Click the green flag to start it. Nothing else to press — watch it through, then use ↺ Reset to run it again.
Step 9 — add that line again
Put say [Nice weather!] for (1.5) seconds back into the Cat’s second stack. Run it. It just works. You did not need to change anything else. That is why you built the second version.
Why does nothing happen after the cat’s first line?
There are three common reasons. First: the broadcast [dog 1 v] is on the Cat. But maybe the when I receive [dog 1 v] hat is on the Cat too. It must be on the Dog. Second: the two blocks name different messages. dog 1 and dog1 are not the same cue. Third: you took broadcast [dog 1 v] and wait. That is a different block. It works here, but check which one you have.
The worried dog
Program this chat. The two pauses are part of it. Keep them quiet.
| # | Who | Line |
|---|---|---|
| 1 | Cat | Good morning, Doggy! |
| 2 | Dog | Good morning, Catty! |
| 3 | Cat | How is everything going? |
| 4 | Dog | I’m good… … |
| — | — | (pause a moment) |
| 5 | Dog | But I’m quite worried about my exam |
| 6 | Dog | I think I screwed the exam. |
| — | — | (pause a while) |
| 7 | Cat | Don’t worry about it, let’s catch some drinks first! |
How to use this: Click the green flag to start it. Nothing else to press — watch it through, then use ↺ Reset to run it again.
Teacher note
Either version passes, but the pauses are the tell. In the waits version a pause is one more number to keep in step with everything after it; in the broadcast version it is a wait (2) seconds sitting quietly before the next broadcast [message1 v], affecting nothing else. Pupils who built Step 9 usually spot that without prompting.
Your cast, your words
Swap both characters for sprites you pick yourself. Use anything in the library except the cat and Dog2. Then write your own chat of 6 to 10 lines.
Pick a story where the two characters need each other. For example: looking after a sick friend, staying safe and clean, or fixing a fight. Both characters must have something real to say.
How to use this: Click the green flag to start it. Nothing else to press — watch it through, then use ↺ Reset to run it again.
Teacher note
The hidden work is the rotation style. Most library sprites face right, so the right-hand character needs direction −90 and left / right rotation — the same two settings as the dog, done again without being told. Pupils who skip it end up with a character standing on its head, which is the fastest way to make the lesson stick.
A story in two scenes
One chat is a moment. A story goes somewhere.
Make a story with at least two different scenes. Use broadcast to run the whole story. Use it for the change of place too.
How to use this: Click the green flag to start it. Nothing else to press — watch it through, then use ↺ Reset to run it again.
Teacher reveal — what the Stage needs
The Stage takes scripts of its own: click the backdrop thumbnail to the right of the sprite list and the Blocks Panel switches to it.
when I receive [scene 2 v]
switch backdrop to [School v]
The trap is the second run. Whoever sends scene 2 leaves the backdrop on School forever, so the next green flag starts in the wrong place. The Stage needs a second stack — when flag clicked then switch backdrop to [Hall v] — to put the story back at the beginning. That is the same “set your starting state” idea as last lesson’s go to x: (0) y: (0), and it is worth naming out loud.
The third voice
You can just about time two characters by hand. You cannot time three.
Build a chat with three sprites.
- Each one speaks at least twice.
- The third character comes in halfway through.
- When it comes in, the other two start talking about something new.
Do not use wait (1) seconds when they take turns. Every turn starts with a cue.
How to use this: Click the green flag to start it. Nothing else to press — watch it through, then use ↺ Reset to run it again.
Summary 3 min
say [Hello!] for (2) secondsis your talking block. The “for seconds” part stops the script while the bubble shows.- A sprite from the library faces right. Use direction −90 and left / right rotation style. Then it turns round and does not go upside down.
wait (1) secondscan time a chat. But every number depends on the others. Change one line and they all break.- Broadcast works like cues in a play.
broadcast [message1 v]passes the turn on.when I receive [message1 v]takes your turn. - Broadcast still works when you change the story. So use it when you have more than a few lines.
- Broadcast
- A message with a name. It goes to every sprite and the Stage at once.
- Rotation style
- How a sprite turns. It can spin all the way round, flip left–right only, or never turn.
- Stack
- One group of blocks joined together. It starts with one hat block.
- Cue
- A signal that tells an actor, or a sprite, that it is their turn.
Hand in
Share your project. Send the link to your teacher. Did you finish missions at home? Bring them to the next class and claim your Adcoins.