loop
[list of commands]
Parameters:
[list of commands] |
List of commands |
the list of commands that will be run forever |
Description:
Do [list of commands] forever.
Examples:
loop [fd 4 rt 45]
makes turtles repeatedly move forward 4 steps and turn right 45 degrees.
Related Commands:
output
repeat
stop