Level 2

Color Magic

Level 2 · Chapter 6

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

See how times and sharing undo each other.

Code 3.OA.B.5Read 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 apply visual effects to a sprite.

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 canapply visual effects to a sprite
🧩 New blocks2 blocks
📝 New words8 words
⏱ Lesson time~35 min
Teacher Guide

📋 Before class

⚠️ Common misconceptions

  • Students confuse set effect (absolute) and change effect (additive). Demonstrate: set 25 twice stays at 25; change 25 twice becomes 50.
  • Students place change effect OUTSIDE the repeat block — it runs once instead of many times. The indent is the key visual cue.

🎯 Differentiation

🐢 Struggling: Focus on color effect only. Provide a reference card: set = choose a number, change = add to the number.

🚀 Advanced: Challenge them to combine two effects inside one repeat — e.g., change color AND change ghost at the same time.

💡 During the lesson

  • Warm-UpShow students a photo with a color filter applied on the projector (any simple example). Ask: "Is the photo different? What changed?" Connect: Scratch effects work the same way — they change how the sprite looks, not what it does. Today's effects: brightness ☀️ makes it lighter or darker, pixelate 🔲 turns it into big squares, and mosaic 🪟 makes many tiny copies.
    Point to frame 2. "The color effect changes the cat." Point to frame 4. "A second effect makes the cat fade." Point to frame 5. "Set both effects back to 0 and the cat looks normal again." Run the loop live and ask: "Each round inside the loop adds a little more — did the color keep building up?" (The picture cards cannot show the slow build-up, so demonstrate it on screen.)
  • Try ItHave students predict each version before running. Experiment 1 = color cycles 10 times. Color AND fade together comes in Extend. A costume flip each round comes in Build — the cat looks like it is walking. Experiment 2 = one-time color jump, no loop. Experiment 3 = set inside a loop — the ghost stays at the same number each round. Ask: "Which one used repeat? Which one did NOT?"
  • PlanAsk: "What is inside the repeat loop?" (The change effect block.) "What happens each time the loop runs?" (Color shifts by 25.) Students trace the loop with their finger on the screen or paper.
  • BuildWatch for students who drop the change effect block beside the repeat, not inside it. Show the indent. Also: after step 5, the ghost effect stays — ask students how to remove it. Guide them to set [ghost ▾] effect to (0), the same set block from this chapter with the value 0. next costume is the same Looks block from Level 1 — the cat has two costumes, so each loop round flips the pose.