> For the complete documentation index, see [llms.txt](https://infinity-store.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinity-store.gitbook.io/docs/scripts/hud-+-ui-lib/customization.md).

# Customization

### Can I customize the HUD elements?

Yes, the HUD elements are fully customizable via the configuration file. Under `Config.HUDElements`, you can easily:

* **Enable or disable** specific HUD components
* **Set their default position** on the screen using the `top` and `left` values
* **Define their default state**, such as whether a component should be active or hidden by default

```lua
Config.HUDElements = {
	["ServerInfo"] = { top = 1, left = 81, active = true, disabled = false },
	...
}
```

***

### Can players customize the HUD color individually?

No, the HUD color is static and cannot be customized per player. The color is set globally by the server owner to match the server's theme and cannot be overridden by individual users.

You can configure the HUD color using the `Config.HUDColor` setting in RGB format:

```lua
Config.HUDColor = "255, 95, 0" -- r, g, b
```

***

### How do HUD presets work?

Presets allow players to save and quickly switch between different HUD configurations they like. There are 5 available preset slots, and each slot can store a full layout of the HUD, including the position and visibility of each component.

<div align="center" data-full-width="false"><figure><img src="https://2493357210-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZk8yF6Ll4dFnt4A1EuW1%2Fuploads%2Fx0OEifmNkbpKlbdkheP7%2Fimage.png?alt=media&amp;token=e9d1d5b7-9c0f-4798-a2a8-d5ec60286fb8" alt="" width="168"><figcaption></figcaption></figure></div>
