# SetStateMachineTransitions(AnimatorStateMachine, AnimatorTransition[])

> Sets the list of all outgoing state machine transitions from given state machine.

## Definition

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

```csharp
public void SetStateMachineTransitions(AnimatorStateMachine sourceStateMachine, AnimatorTransition[] transitions)
```

### Parameters

**** (\[AnimatorStateMachine]\(/engine/6000.0/script-reference/unityeditor/animations/animatorstatemachine)): **** (\[AnimatorTransition\[]]\(/engine/6000.0/script-reference/unityeditor/animations/animatortransition)): The outgoing transitions.
