X Tables
Coding And Maths

ScratchJr maths: simple patterns

Use ScratchJr-style projects for ages 5 to 7 to create repeating colour, sound and movement patterns.

Quick answer

You can make simple repeating patterns in ScratchJr by using loops and repeating blocks to create colour, sound, or movement sequences that repeat over and over again.

Learning outcome

By the end of this page, you will be able to create your own repeating patterns in ScratchJr using loops and repeat blocks, and understand how these patterns help you build simple computer programs. Success signs:
  • You can make a pattern that repeats at least 3 times
  • You can use different colours, sounds, or movements in your pattern
  • You can explain how loops help you make patterns without repeating the same code
  • You can create a pattern that makes a story or a song

Why this matters

Patterns are everywhere in life – in music, in nature, in games, and even in how we think. When you learn to make patterns in ScratchJr, you're not just playing with code – you're learning how to solve problems and tell stories using a computer. Patterns help you understand how things repeat, which is useful in maths, music, science, and even in cooking or building. Learning to make patterns in ScratchJr is like learning to speak a new language – it helps you think like a programmer!

How it works

Making patterns in ScratchJr is like making a recipe. You need to:
  1. Choose what you want to repeat (like a colour, a sound, or a move)
  2. Use a loop block to make it repeat
  3. Set how many times it should repeat
  4. Try it out and see if it works!
You can make patterns with:
  • Colour: Change the background or sprite colour in a repeating order
  • Sound: Play a sound or musical note in a sequence
  • Movement: Make a sprite move in a pattern (like up, down, left, right)

Examples you can see

Let’s imagine you're making a fun game where a character dances. You can make a pattern like:
  1. Move right
  2. Move up
  3. Move left
  4. Move down
Then you can use a loop to make the character do this dance 3 times. Example 1: Colour Pattern You have a sprite that changes colour. You want it to go red, blue, green, red, blue, green, red, blue, green.
  • Red
  • Blue
  • Green
  • Red
  • Blue
  • Green
  • Red
  • Blue
  • Green
To make this in ScratchJr, you can use a loop to repeat the sequence 3 times. Example 2: Sound Pattern You want to play a musical pattern:
  • Play sound 1
  • Play sound 2
  • Play sound 3
  • Play sound 1
  • Play sound 2
  • Play sound 3
Again, you can use a loop to repeat this 2 times.

Try it as a mini adventure

Adventure: The Pattern Detective You are a detective in a magical land where patterns are hidden in everything. Your job is to find and recreate these patterns using ScratchJr.
  1. Step 1: Choose a pattern from your world – maybe it’s the pattern of flowers in a garden, or the rhythm of a drum.
  2. Step 2: Decide what to repeat – maybe it's a colour, a sound, or a move.
  3. Step 3: Use ScratchJr to build your pattern. Try to make it repeat at least 3 times.
  4. Step 4: Show your pattern to a friend or parent. Can they guess what it means?
Mini Challenge: Make a pattern with 4 steps that repeats 3 times. Use either:
  • Colours (like red, blue, green, yellow)
  • Sounds (like beep, boop, bloop, buzz)
  • Moves (like jump, spin, hop, wiggle)

Common mistakes

  • Mistake: Forgetting to close a loop block.
    • Why it happens: The computer doesn’t know when the pattern should stop repeating.
    • Fix: Always make sure your loop block has a closing part, like a "repeat" or "loop" block that ends the pattern.
  • Mistake: Using too many blocks without a loop.
    • Why it happens: It makes the program very long and hard to fix.
    • Fix: Use a loop to repeat your pattern instead of typing the same block over and over.
  • Mistake: Not repeating the pattern enough.
    • Why it happens: The pattern doesn’t feel like a pattern because it’s too short.
    • Fix: Try to make your pattern at least 3 steps long, and repeat it at least 2 times.

Parent and carer guide

As a parent or carer, you can help your child learn patterns in ScratchJr by:
  • Encouraging them to talk about what they are doing in their pattern
  • Playing along by making their own patterns and asking questions like, "What comes next?"
  • Helping them understand how loops save time and make their code cleaner
  • Letting them experiment and try different ideas – it’s okay if they don’t get it right the first time
  • Not worrying if they get frustrated – it’s part of learning!
Five-minute help tips:
  1. Ask your child to explain one pattern they made
  2. Try to make a pattern together using everyday objects (like clapping, jumping, or arranging toys)
  3. Use loops to show how repeating saves time
  4. Encourage them to make their patterns longer or more complex
  5. Keep the focus on fun and creativity, not perfection

Practice questions

  1. What is the first step to make a pattern in ScratchJr?
  2. How many times should a pattern repeat to be a good pattern?
  3. Can you name one thing you can repeat in a ScratchJr pattern?
  4. What block helps you make a pattern repeat?
  5. What happens if you forget to close a loop block?
Answers:
  1. Choose what to repeat (like a colour, sound, or move)
  2. At least 3 times
  3. Colours, sounds, or movements
  4. A loop block
  5. The pattern won’t finish and might cause errors

FAQ

What is a pattern in ScratchJr?

A pattern in ScratchJr is a sequence of actions, like colours, sounds, or moves, that you repeat using loops.

Can I make patterns with more than 3 steps?

Yes! You can make patterns with as many steps as you want, as long as you use loops to repeat them.

Do I need to know how to code to make patterns in ScratchJr?

No, ScratchJr is designed for young children and uses visual blocks, so you don’t need to know any text-based coding.

How can I use patterns in my daily life?

Patterns help you understand rhythms, schedules, and even how to build or cook. They’re useful in music, games, and science!

What if I make a mistake in my pattern?

Mistakes are part of learning! You can always try again and fix your pattern. That’s how programmers learn!