A loop is a repeating sequence of instructions in a program. In Infinite Craft, loops can be used to create a variety of effects, such as: – Making an object move continuously – Creating a repeating pattern – Generating random events
To create a loop in Infinite Craft, use the “loop” block. The loop block has two inputs: the number of times to repeat the loop, and the instructions to be repeated. For example, the following loop will make an object move continuously to the right: