> 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/renderer.pushmatrix.md).

# renderer.pushMatrix

> **pushMatrix**(`body`): `void`

Runs a function with its own transform. Any translate/rotate/scale applied inside only affects draws made inside, and is always undone afterwards - even if the function throws.

### Parameters

#### body

`Function`

The function to run with the pushed transform.

### Returns

`void`
