Today you will control how a sprite rotates using set rotation style.
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 | control how a sprite rotates using set rotation style |
| 🧩 New blocks | 1 block |
| 📝 New words | 7 words |
| ⏱ Lesson time | ~40 min |
Teacher Guide
📋 Before class
⚠️ Common misconceptions
- Students often confuse direction (the internal angle value) with rotation style (the visual rendering rule). Changing rotation style does not change direction — it only controls how the costume is drawn.
- Students may think left-right means the sprite can only move left or right. Clarify: it can move anywhere, but the costume only flips, it never tilts.
🎯 Differentiation
🐢 Struggling: Start with concrete comparison — show a platformer game vs. a space shooter. Ask: which character would look wrong upside-down? Platformer. That character needs left-right style.
🚀 Advanced: Challenge students to build a top-down car game using don't rotate style where the car body always points up but velocity direction changes using direction math.
💡 During the lesson
- Warm-UpAsk: "What would a platformer character look like with all-around rotation?" (It would go upside down when it faces left, direction = -90.) This motivates why the three styles exist as distinct choices.
- Try ItRun the platformer script and press left/right. Then change the rotation style to "all around" and run again — pressing left makes Pico spin upside-down. This live comparison is the fastest way to build intuition.
The second experiment is an important edge case — direction 135 means "down-right," but left-right style only maps left vs. right. The sprite appears as it does facing right (direction ≥ 0). Some students expect it to tilt diagonally — it does not. - PlanEmphasize that
set rotation styleis set ONCE at the start of the script — not inside the forever loop. Setting it every frame wastes resources without benefit. - BuildStep 6 shows the motivation by contrast — students see the problem before knowing the full solution. Steps 10-11 complete the three-way comparison: the badge proves "don't rotate" keeps a costume upright even when direction is set.
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.