Break

From LuaSTG Wiki
Jump to navigation Jump to search
  • A break node jumps out of the execution of code in a Repeat node.

A break node skips the execution of all lines of code starting from the break node to the end of the repeat node. In LuaSTG Sharp, this node may be specified a condition, equivalent to an if statement that contains the break.

A break node must be placed inside a repeat node.