# GetPriority(int)

> Gets a progress indicator's priority.

## Definition

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

```csharp
public static int GetPriority(int id)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The progress indicator's unique ID.

### Returns

| Type                                                       | Description   |
| ---------------------------------------------------------- | ------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The priority. |

### Remarks

Additional Resources: [Progress.SetPriority](/engine/6000.0/script-reference/unityeditor/progress/setpriority.md).
