The repeat loop is very simple. It allows you to repeat a statement or block of code without needing to copy-and-paste it. Here are some examples:
{repeat(5)
{x += 15;}}
{repeat(3)
{x += 15; y -= 5;}}
The number in the parentheses dictates how many times you want to repeat the statement/code block.
You may also use a variable:
repeat(self.x)
{instance_create(irandom(400),irandom(400),object_obj);}
Copyright © 2026 eLLeNow.com All Rights Reserved.