# layerIndex

> The animator's layer index that owns this state machine behaviour.

## Definition

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

```csharp
public int layerIndex
```
