# GetId(int)

> Finds a progress indicator's unique ID using its index in the set of all available progress indicators.

## Definition

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

```csharp
public static int GetId(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The valid index for a progress indicator.

### Returns

| Type                                                       | Description                                                                  |
| ---------------------------------------------------------- | ---------------------------------------------------------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The progress indicator's unique ID, or -1 if the unique ID is not available. |
