# Pause(int)

> Pauses a runnning progress indicator, and invokes the pause callback for its task.

## Definition

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

```csharp
public static bool Pause(int id)
```

### Parameters

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

### Returns

| Type                                                          | Description                                               |
| ------------------------------------------------------------- | --------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the task is paused, false if it cannot be paused. |

### Remarks

You can only call this method if a pause callback has been registered for the specified **id**.

Additional Resources: [Progress.RegisterPauseCallback](/engine/6000.0/script-reference/unityeditor/progress/registerpausecallback.md), [Progress.UnregisterPauseCallback](/engine/6000.0/script-reference/unityeditor/progress/unregisterpausecallback.md), [Progress.Resume](/engine/6000.0/script-reference/unityeditor/progress/resume.md).
