Check FSM State
Checks if a specified FSM is in a given state.
Parameters
| Parameter | Description |
|---|---|
| FSM Component | The FSM to check. References the target FSM component on which to verify the current state. |
| State | The state to check (e.g., Idle, Walking, Running). Specifies the name of the state you want to determine if active. |
| Use Full Path | Use full path to match sub-states (e.g., Walking/Slow, Walking/Fast). Otherwise use only the state name (e.g., Slow, Fast). When enabled, this will check the complete state path including parent states. |
| True Event | The event to send if the FSM is in the specified state. |
| False Event | The event to send if the FSM is not in the specified state. |
Related Actions
- FsmStateSwitch - Send events based on the active state of a target FSM
- SendFsmEvent - Used to send an event to a specific FSM