Video: Repeat Times Block
Hi, I'm Mark! Let's learn about loops. Using loops you can tell a computer to repeat any set of actions over and over, thousands or even billions of times.
In this puzzle, we want to make the bird move forward 5 spaces to get to the pig.
We can use the new "repeat" block to help us out.
Instead of dragging out 5 "move forward" blocks...
We can put the "move forward" block inside the "repeat" block and write a number in the block to tell it how many times to repeat.
And this is important: you can put more than one command inside a "repeat" block.
Enjoy using your new "repeat" block!