How-To Guide

CLASS 1
64
Intro to ‘Loop’
‘Repeat’ Block
Now, we will learn about a loop that will repeat a certain number of times. If you want the motor to rotate 10
times, you just need to drag ‘Repeat 10 times’ block to the script. Take the ‘Infinite repetition’ block and change it
to the ‘Repeat 10 times’ block
You should’ve seen the motor turning on and off 10 times!
These are two types of loop we will be using in this lesson.