# GetStateMachineTransitions(AnimatorStateMachine)

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

## Definition

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

```csharp
public AnimatorTransition[] GetStateMachineTransitions(AnimatorStateMachine sourceStateMachine)
```

### Parameters

**** (\[AnimatorStateMachine]\(/engine/6000.5/script-reference/unityeditor/animations/animatorstatemachine)): The source state machine.

### Returns

| Type                                                                                                   | Description |
| ------------------------------------------------------------------------------------------------------ | ----------- |
| [AnimatorTransition\[\]](/engine/6000.5/script-reference/unityeditor/animations/animatortransition.md) |             |
