# StateMachine

> The Condition.StateMachine that contains this condition, or null when the condition is not part of a state machine.

## Definition

* **Type:** Property
* **Namespace:** [Unity.GraphToolkit.Editor](/engine/6000.7/script-reference/unity/graphtoolkit/editor.md)
* **Assembly:** UnityEditor

```csharp
public StateMachine StateMachine { get; }
```
