> For the complete documentation index, see [llms.txt](https://lt-studios.gitbook.io/lt-studios/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lt-studios.gitbook.io/lt-studios/assets/editor/api-for-developers/client-side-exports/toggleui.md).

# ToggleUI

This function can be useful for times where the whole UI needs to be turned off/on. For example, it is used in the actual code of the script to determine whether we need to show the UI or not when the GTAV Pause Menu is active. You can use it for your HUD Systems, etc..

### Parameters

* `value` *(boolean)* – Whether you want to show the whole UI or not.

### Usage Example

```lua
exports['lt-10system']:ToggleUI(false)
exports['lt-10system']:ToggleUI(true)
```
