Repeat events work like standard events, but they are repeated multiple times in a row before continuing to the next event in the list. The events that follow are not executed until the number of repetitions has been reached.
Note that this count can be an expression. That means that you can make the number of repetitions vary according to something that the player does. For example, you can create a different number of enemies according to an object's life count, position, etc. You can also create a random number of objects on the scene (see the example below).
How to add this event
Right click (or long press) on an existing event and choose "Add Other" in the menu. Then, select the event you want to add. Alternatively, click on the "Plus" icon in the toolbar or on "Add..." at the bottom of the events sheet.
See it in action! 🎮
Open these examples online.