You can control how many times your program performs a certain task, or where it goes next in the program, using control flow icons.

 

The For Loop icon  controls how many times your program does a certain thing. For example, this program uses a For Loop to turn on motor A for 1 second, then turn it off and wait for 1 second. It does this 3 times. For Loops are useful because you don't have to write the same piece of code 3 separate times.

Jump icons

let you jump to a certain location in your program. You can either jump forward or backward in the program.

For example, this program does the same thing as the previous program, except it turns the motor on and off forever. This is because the red jump will keep jumping back to the red landing location forever.