> For the complete documentation index, see [llms.txt](https://laot7490.gitbook.io/ltbridge/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://laot7490.gitbook.io/ltbridge/ui-and-interaction/progress/open.md).

# Open

Shows a progress bar for a timed action. Returns whether the player completed or cancelled.

{% hint style="info" %}
**Side:** Client · **Category:** Progress · **API:** `LT.Progress.Open`
{% endhint %}

## Example

```lua
LT.Progress.Open({
    duration = 5000,
    label = 'Repairing vehicle...',
    useWhileDead = false,
    canCancel = true,
    disable = { move = true, car = true, combat = true },
}, function(success)
    if success then print('Done!') end
end)
```

See [Progress options](/ltbridge/ui-and-interaction/progress/progress-options.md) for the full data table.

## Parameters

| Name      | Required | Description                                                                                                                   |
| --------- | -------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `options` | Yes      | Options — see [Progress options](/ltbridge/ui-and-interaction/progress/progress-options.md)                                   |
| `cb`      | No       | fun(success: boolean)                                                                                                         |
| `isQB`    | No       | If options are sent in "qb-progressbar" format, set to true. If not set, it will be assumed as "ox\_lib" progress bar format. |

## Returns

* `boolean success`
