NEW Explore the Scratch Block Dictionary, tutorials, textbook, and classroom guides

Start learning →

Hour of Code: Build & Solve a Sprite Maze

📌 What you will learn

Learners draw a custom maze backdrop, code wall-collision bounce-back, and place a goal trophy.

60-Minute Pacing Plan (Grades 3–6)

Learners draw a custom maze backdrop, code wall-collision bounce-back, and place a goal trophy.

  • 10 min: Draw high-contrast maze walls in the backdrop editor
  • 20 min: Code 4-way movement with wall push-back
  • 20 min: Add goal detection and a second level backdrop
  • 10 min: Challenge classmates to beat your maze

Classroom Tips & Next Steps

Encourage students to click the green flag after every 2–3 blocks. If a student gets stuck, ask them what they expected to happen and which block ran right before the surprise.

All 15 Hour of Code Plans Browse more 1-hour Scratch activities. Learn more → Grade-Level Curriculum Guides (K–12) Continue beyond Hour of Code by grade level. Learn more → Interactive Scratch Labs Demonstrate coordinates, angles, logic, and lists live on your projector. Learn more →

This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.