Visual State Machine
  • Welcome
  • FAQ
  • Get Started
    • Setup
    • How to Create a State Machine
    • How to Open the Graph Editor
    • How to Create a State
    • About State IDs and Renaming States
    • How to Duplicate States
    • How to Set the Entry State
    • How to Create a Transition
    • About Transition IDs and Renaming Transitions
    • About Transition Labels
    • How to Trigger a Transition
    • How to Trigger a Transition by Label
    • How to Listen to Graph Events
  • Advanced
    • Execution Order
    • Listening to Events from Script
    • Writing Custom State Behaviours
    • Extending VSM
Powered by GitBook
On this page

Was this helpful?

  1. Advanced

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

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

PreviousHow to Listen to Graph EventsNextListening to Events from Script

Last updated 2 years ago

Was this helpful?