How-To Guide

CLASS 1
62
Intro to ‘Loop’
What is ‘Loop’?
‘Loop’ can repeat a robot’s movement and lets us constantly check many different settings.
It is useful when you make a code that includes more than one movement. In this lesson, we will learn two loops.
The simplest loop is when a computer repeating the same order again and again.
Also, loop can make your code simple and help you easily make repeating code.
For example, when you want to make a repeating code that turns a motor on and off, you will probably need an
infinite combination of the same blocks. Thanks to the loop, we can order the computer to repeat one action.