Level 3

Scene Switch

Level 3 · Chapter 15

What this lesson follows

CSTA K–12 Computer Science Standards (2017)

Algorithms & Programming · Grades 3–5

Split a big problem into smaller parts.

Code 1B-AP-11Read the official text

Also practised: 1B-AP-15

Common Core State Standards for Mathematics

Operations & Algebraic Thinking · Grade 3

Solve stories with times and sharing.

Code 3.OA.A.1Read the official text

The short lines are our own words. We matched this lesson to these standards ourselves; the standards' owners have not reviewed or endorsed this course.

Common Core State Standards © 2010 National Governors Association Center for Best Practices and Council of Chief State School Officers. All rights reserved.

Today you will trigger sprite behavior when the backdrop changes.

1👋 Warm-Up

For teachers · goals · guide
Lesson Outcomes · for teachersCSTA 1B
✦ CSTA 1B-AP-11 · CSTA 1B-AP-15 · ISTE 1.5.a · Standards
🎯 I cantrigger sprite behavior when the backdrop changes
🧩 New blocks1 block
📝 New words5 words
⏱ Lesson time~40 min
Teacher Guide

📋 Before class

⚠️ Common misconceptions

  • Students use 'when flag clicked' instead of 'when backdrop switches to' — cat only reacts once, not each time the scene changes.
  • Students add 'when backdrop switches to' but pick the wrong backdrop name from the dropdown. The name must match exactly.

🎯 Differentiation

🐢 Struggling: Provide a two-column diagram: left = 'switch backdrop to' (SENDS the change), right = 'when backdrop switches to' (RECEIVES the change). They are a pair — like throwing and catching a ball.

🚀 Advanced: Challenge: add a second sprite (e.g. Pico Walking) that ALSO has 'when backdrop switches to' scripts. Both sprites react to the same scene change simultaneously.

💡 During the lesson

  • Warm-UpAct it out with the class. You say: "Scene change — it is morning!" Students respond: "Good morning!" Then say: "Scene change — it is night!" Students respond: "Goodnight!" This is exactly what when backdrop switches to does — the backdrop is the cue, the sprite code is the response.
    Ask before revealing: "How does the cat know which scene it is?" (It has a separate script for each backdrop.) Emphasize that there are THREE scripts — one for each backdrop. Each script has its OWN hat block listening for ONE specific backdrop.
  • Try ItLet students test each pair individually. Then ask: "What would happen if you pressed key 1 three times fast? Does the cat say all three messages?" (No — each backdrop switch triggers only its own reaction.) This reinforces one-to-one event matching.
  • PlanAfter the plan is filled, ask: "How many hat blocks does your project need?" (One when flag clicked + three when backdrop switches to + three when key pressed + one when I receive = eight total.) Drawing this on the board helps students see the structure before building — and shows that the three reaction scripts are one shape repeated.
  • BuildStep 3 is the pattern lesson: put the three reaction scripts side by side and ask "What is the same? What is different?" (Same shape; only the backdrop and the message differ.) The most common error is selecting the wrong backdrop in the dropdown — have students read the EXACT names aloud first. Case matters. Steps 6-7 are the payoff: the key press starts the scene, and the broadcast lets one scene hand off to the next without a key. That hand-off is the pattern the final project chapter builds on.