Loops are an easy element for control in your code. With a loop you can control how often a specific action should be executed.
Repeat x times
You can use this block if you want a certain action to be repeated x amount of times.
With this block you can repeat a certain action while a statement is true. In order for this to work you have to add a comparison statement.
This block displays the typical for-loop in programming. With the count i and the range (e.g.:1-10) and a counter you can precisely control how often an action should be executed.
This block aborts the current loop. Keep in mind that only your loop will be aborted not your code itself. In the dropdown you can choose additional settings such as continiuing with the next iteration of the loop.
Made with ♥ by the senseBox team at ifgi, WWU Münster
All content is published under CC BY-SA 4.0