> For the complete documentation index, see [llms.txt](https://ilumisoft.gitbook.io/visual-state-machine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ilumisoft.gitbook.io/visual-state-machine/advanced/execution-order.md).

# Execution Order

The State Machine component is executed before all normal components with an execution order of **-1** and automatically enters the entry state on Start.

### Trigger Execution Order&#x20;

When triggering a transition on a state machine, the state machine processes the following operations in the given order:

1. Exit origin state
2. Enter transition
3. Exit transiton
4. Enter target state
