> 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.onrender.md).

# hudManager.onRender

> **onRender**(`onRender`): `void`

Register a callback that runs on render.

### Parameters

#### onRender

`Function`

Function that will render this HUD element. Receives (x, y, scale) as arguments.

### Returns

`void`

### Example

```ts
hudManager.onRender((x, y, scale) => {
 //draw something here 
 });
```
