> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Toggle icon display

> Show or hide the icons/text of all doors.

Toggles icons/text of all doors.

```lua Export theme={null}
exports["doors_creator"]:toggleIconDisplay(newState)
```

### Parameters

| Name       | Data Type | Description                                          |
| ---------- | --------- | ---------------------------------------------------- |
| `newState` | boolean   | `true` = display icon/text, `false` = hide icon/text |

## Example

```lua theme={null}
RegisterCommand("hideDoorsIcon", function()
    exports["doors_creator"]:toggleIconDisplay(false)
end)
```


## Related topics

- [Client](/doors-creator/client/index.md)
- [Create door](/doors-creator/server/create-door.md)
- [Update door](/doors-creator/server/update-door.md)
- [Toggle hotwiring](/vehicles-keys/client/toggle-hotwiring.md)
- [Change doors icon](/doors-creator/change-doors-icon.md)
