# GetCurrentStep(int)

> Gets the current step for a progress indicator.

## Definition

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

```csharp
public static int GetCurrentStep(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 current step. |

### Remarks

Returns -1 if the indicator is not set to report progress in steps. To set the type of steps that the progress window displays, use [Progress.SetStepLabel](/engine/6000.6/script-reference/unityeditor/progress/setsteplabel.md).

Additional Resources: [Progress.Report](/engine/6000.6/script-reference/unityeditor/progress/report.md), [Progress.GetTotalSteps](/engine/6000.6/script-reference/unityeditor/progress/gettotalsteps.md), [Progress.GetStepLabel](/engine/6000.6/script-reference/unityeditor/progress/getsteplabel.md), [Progress.SetStepLabel](/engine/6000.6/script-reference/unityeditor/progress/setsteplabel.md).
