> For the complete documentation index, see [llms.txt](https://docs.sannybuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sannybuilder.com/language/control-flow.md).

# Control Flow

Control flow is the order in which [instructions](/language/instructions.md) in a script are executed. A default order is sequential from the top of the script. It can be changed using control flow statements: [loops](/language/control-flow/loops.md), [conditions](/language/control-flow/conditions.md), [switches](/language/control-flow/switch.md), or [jumps](/language/control-flow/labels.md).
