# SetOverrideBehaviours(AnimatorState, StateMachineBehaviour[])

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

## Definition

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

```csharp
public void SetOverrideBehaviours(AnimatorState state, StateMachineBehaviour[] behaviours)
```

### Parameters

**** (\[AnimatorState]\(/engine/6000.7/script-reference/unityeditor/animations/animatorstate)): The state which we want to set the behaviour list.**** (\[StateMachineBehaviour\[]]\(/engine/6000.7/script-reference/unityengine/statemachinebehaviour)): The behaviour list that will be set.
