# StateMachine

> The IVariable.StateMachine that owns this variable, or null if the variable belongs to a regular IVariable.Graph (use IVariable.Graph in that case).

## Definition

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

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