- repeat 3 timesmove rightcollect the star
A shorter way
Three move right blocks make a long program. One repeat block does the same job. It is shorter and easy to read.
- repeat 5 timesmove right
The number says how many
The number tells how many times. Repeat 5 times moves the robot 5 squares. Change the number to change the trip.
- repeat 4 timesmove downcollect the star
Count, then repeat
Count the squares first. The star is 4 squares down. So the repeat number is 4.
- move downrepeat 3 timesmove right
A step, then a repeat
A program can have a block before the repeat. The robot goes down once. Then the repeat moves it right 3 times.
- repeat 3 timesmove rightmove up
Repeat a group
A repeat can hold a group of blocks. Move right and move up sit inside. The whole group runs 3 times.
For parents
Goal: Your child learns to use a repeat block to do a step again and again, and picks the right number for it.
- Ask: how many times does the robot do the same step? That is the repeat number.
- Read a repeat out loud the long way, saying the block inside once for each time.
- In the labs your child builds programs with repeat blocks and guesses where a repeat takes the robot. Fewer blocks earn more stars.
Away from the screen: Write repeat cards on paper, like repeat 4 times: jump, or repeat 2 times: clap and spin. Your child picks a card and does the moves, counting out loud.