# stateMachine

> The state machine for the layer.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Animations](/engine/6000.6/script-reference/unityeditor/animations.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public AnimatorStateMachine stateMachine { get; set; }
```

### Remarks

When using Synced Layer, this state machine  is overridden by the state machine of the synced layer.
