Skip to main content

Stage 5 · Control flow

By default, blocks run top to bottom in file order. This stage shows you four ways to change that order:

  • Decision: choose one route.

  • Loop: repeat a frame of blocks.

  • then: jump to a named block, or to break or continue inside a loop.

  • Node execution off (enabled: false): skip a block without deleting it.

  • Decision: choose one route

    Write when conditions, route with goto, and rejoin branches with then.

  • Loop: for each item

    Iterate an array, read loop.item and loop.index, and collect results.

  • Loop: repeat, while, break, and continue

    Fixed-count and condition-controlled loops, plus then: break and then: continue.

  • Routing, skipping, and disabled nodes

    then targets, Node execution off, disconnected wires, and how Runs shows skipped blocks.