> 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](https://docs.sannybuilder.com/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](https://docs.sannybuilder.com/language/control-flow/loops.md), [conditions](https://docs.sannybuilder.com/language/control-flow/conditions.md), [switches](https://docs.sannybuilder.com/language/control-flow/switch.md), or [jumps](https://docs.sannybuilder.com/language/control-flow/labels.md).
