Today you will apply visual effects to sprites like color, ghost, and pixelate.
1 Warm-Up
2 Predict
3 Try It
4 Plan
5 Build
6 Fix It
7 Extend
8 Math Challenge
For teachers · goals · guide
Lesson Outcomes · for teachersCSTA 2
✦ CSTA 2-AP-12 · ISTE 1.5.c · Standards
| 🎯 I can | apply visual effects to sprites like color, ghost, and pixelate |
| 🧩 New blocks | 1 block |
| 📝 New words | 7 words |
| ⏱ Lesson time | ~35 min |
Teacher Guide
📋 Before class
⚠️ Common misconceptions
- Students confuse 'set effect to' and 'change effect by' — set replaces the current value, change adds to it. Using set inside a loop does NOT animate unless the number also changes.
- Students think ghost effect goes from 0 (hidden) to 100 (visible). The opposite is true: ghost 0 = fully visible, ghost 100 = fully hidden.
- Students expect clear graphic effects to undo only the last effect they set. It removes ALL effects from the sprite at once.
🎯 Differentiation
🐢 Struggling: Start with only ghost effect. Use a single change ghost effect by (10) block inside a forever loop so students see the value increment clearly on screen.
🚀 Advanced: Combine two effects simultaneously (color cycling AND ghost pulsing) using two forever loops. Explore which effects interact visually.
💡 During the lesson
- Warm-UpOptional: if the class is together, open Scratch and live-demo each of the 7 effects by dragging "set [color] effect to 50" into the editor and changing the dropdown. Let students call out "whoa!" or describe what they see. This front-loads curiosity. Keep it under 90 seconds — just a taste, not a full explanation. A
set … effect toblock uses an absolute 🎯 value — an exact number, not a change from the current one. - Try ItDraw the scale on the board: ghost 0 = solid, ghost 100 = hidden. Students almost always predict the opposite. After drawing the scale, run "set ghost to 100" to confirm. Then run "clear graphic effects" to show the reset. Emphasize: clear removes ALL effects, not just ghost.
The third experiment is the key one:set ghost to 50runs once before the loop, so Pico stays half see-through the whole time while the color keeps changing — the loop never touches ghost. In the second experiment, a biggerchangenumber makes the colors jump faster. This concept (a value set before the loop stays until something changes it) is fundamental to loop-based animation. - PlanThe fade direction reverses by using two separate repeat 20 loops in sequence — there is no if block here. Ask: "How many times do we add 5 to go from 0 to 100?" (20). "How many times do we subtract 5 to go from 100 to 0?" (20). This arithmetic preview helps students choose the correct repeat count.
- BuildAt step 7, the two repeat blocks must be sequentially inside forever, not nested inside each other. A common error is placing the second repeat inside the first. Check students' stacks visually — the indentation in Scratch shows nesting.
Show the picture first. Ask what will happen — everyone points or says one word.
Everyone picks an answer first. Then press the flag together.
Change one thing at a time. Run it, watch, then change the next thing.
Pairs put the cards in order before anyone opens Scratch.
Students build step by step. Walk around — help with questions, not with the mouse.
Ask: what did we want, and what did it do? Let them find it.
Fast finishers pick the next tier. Everyone else finishes their build.
Work it out on paper first. Then check it on the stage.