> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/api/functions/hudmanager.onheight.md).

# hudManager.onHeight

> **onHeight**(`onHeight`): `void`

Register a callback that returns the height of this HUD element.

### Parameters

#### onHeight

`Function`

Function returning the height in pixels.

### Returns

`void`

### Example

```ts
hudManager.onHeight(() => { return 20; });
```
