Skip to content

3.1.3.5 Control

Control blocks are used to implement logical control of program flow, such as conditional statements, loops, or wait operations, helping the program make decisions based on different situations and run in an orderly manner.

blocks Note
image Wait for 1 second; the program will remain in its current state for one second.
image Execute 10 times; the program in this loop will run 10 times.
image The program runs in a loop.
image If is met, then the program will execute; the program will only run if the condition is satisfied.
image f the is met, the program within it is executed; otherwise, the statements in the "else" block are executed.
image If the is met, the corresponding program will run; otherwise, if another is met, the corresponding content will run. This supports multiple conditions. Click the + sign to add more conditions.
image Wait until the is met before proceeding to the next line of code.
image Repeat the program in this loop until the is met to exit the loop.
image Stop all scripts or the current script; all programs or the program containing the current block will stop running.
image Triggered when the clone is launched, used to control the clone's specific behavior.
image Cloning yourself—that is, duplicating your own character—will trigger the clone's activation function.
image Delete the clone containing the current program.