⚑FREE Live Master Session: Code Your AI Companion for Kids

    Register for Free β†’
    Free Scratch Worksheet

    Scratch LoopsForever, Repeat & Until

    Master all three types of loops in Scratch. Learn how to animate sprites, draw shapes, build timers, and create game logic β€” all using loops!

    🟒 BeginnerπŸ“„ 6 Sections❓ 10 Quiz Questions✏️ 4 Exercises
    πŸ’‘

    What is a Loop?

    πŸ” What is a Loop?

    Imagine you want your sprite to move 10 steps β€” not once, but 50 times in a row. Would you stack 50 "move 10 steps" blocks? That would take forever! A loop solves this: it runs the same blocks over and over automatically, without you having to repeat yourself.

    βœ… Without a loop (messy!)

    move 10 steps

    move 10 steps

    move 10 steps

    … (Γ—50 times)

    βœ… With a loop (clean!)

    repeat (50)

    move 10 steps

    end

    Done in 2 lines!

    🧠 Key Idea

    A loop is a block that wraps around other blocks and runs them multiple times. Scratch has three types of loops:

    • Forever β€” repeats endlessly
    • Repeat (N) β€” repeats a set number of times
    • Repeat Until β€” repeats until a condition becomes true

    🌍 Real-world analogy

    Think of brushing your teeth. You don't just move the brush once β€” you keep repeating the motion for 2 minutes. That repetition is a loop! Every time you go back and forth, you're running one iteration of the loop.

    ♾️

    Forever

    Animations, game logic

    πŸ”’

    Repeat (N)

    Known repetitions

    🎯

    Repeat Until

    Condition-based stopping

    πŸš€ Live Classes for Kids

    Go Further with Live 1-on-1 Scratch Tutors

    Worksheets are great β€” but live mentorship accelerates learning 10Γ—. Join our Scratch Programming Course for Kids and build 20+ real games & animations with expert guidance.