Any
The Any state is a structural state used for global-style transitions. Instead of making the same transition from multiple states, you can place that shared transition logic on Any once and reuse it across your graph.

In normal use, this is the state you reach for when you have “interrupt” behavior. For example, if Idle, Patrol, and Chase should all be able to switch to Flee, you don’t need to duplicate three separate transitions. You can add one transition from Any to Flee, then put the condition check on that transition.

The key difference from an Action State is that Any is not for running actions. It does not act like a behavior container where you add gameplay logic. The behavior still lives in your Action States, and the decision logic still lives in transition conditions. Any simply gives those conditions a shared global transition path.
Because Any is structural, you generally treat it like a routing node:
- Put shared outgoing transitions on it.
- Put your checks in the transition conditions.
- Send those transitions to regular states (usually Action States) that actually run behavior.

Use Action States to define what your character/object does, and use Any when you need a condition that can redirect flow no matter which normal state is currently active. This keeps the graph cleaner, reduces duplicated transitions, and makes global behaviors easier to maintain.