# Finish(int, Status)

> Marks the progress indicator as finished.

## Definition

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

```csharp
public static void Finish(int id, Progress.Status status = Status.Succeeded)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The progress indicator's unique ID.**** (\[Status]\(/engine/6000.6/script-reference/unityeditor/progress/status)): The status of the associated task when the progress indicator finishes. Indicates whether the task succeeded, failed, or was canceled.

### Remarks

The system removes finished progress indicators unless they are sticky. Sticky progress indicators display progress information even after their associated tasks are complete. The system does not remove them automatically.
