# SetSortingOrder(ushort)

> Sets the sorting order for the specified AnimationPlayableOutput.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Animations](/engine/6000.7/script-reference/unityengine/animations.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public void SetSortingOrder(ushort sortingOrder)
```

### Parameters

**** (\[ushort]\(https\://learn.microsoft.com/dotnet/api/system.uint16)): The sorting order to apply to this output.
