# GetOverrideBehaviours(AnimatorState)

> Gets the override behaviour list for the state on the given layer.

## Definition

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

```csharp
public StateMachineBehaviour[] GetOverrideBehaviours(AnimatorState state)
```

### Parameters

**** (\[AnimatorState]\(/engine/6000.3/script-reference/unityeditor/animations/animatorstate)): The state which we want to get the behaviour list.

### Returns

| Type                                                                                              | Description |
| ------------------------------------------------------------------------------------------------- | ----------- |
| [StateMachineBehaviour\[\]](/engine/6000.3/script-reference/unityengine/statemachinebehaviour.md) |             |
