> 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/namespaces/rotationmanager.md).

# rotationManager

The rotation manager.

### Example

```ts
rotationManager.setPriority(10);

rotationManager.onRotate((updateNoRotate) => {
    // Aim 45° yaw, 10° pitch at 6°/tick
    rotationManager.rotate(45.0, 10.0, 6.0);
});

rotationManager.onUpdateNoRotate(() => {
    // Called when this module has lost priority to another rotation module
});
```

### Functions

* [getSpoofedPitch](/api/functions/rotationmanager.getspoofedpitch.md)
* [getSpoofedYaw](/api/functions/rotationmanager.getspoofedyaw.md)
* [onRotate](/api/functions/rotationmanager.onrotate.md)
* [onUpdateNoRotate](/api/functions/rotationmanager.onupdatenorotate.md)
* [rotate](/api/functions/rotationmanager.rotate.md)
* [setPriority](/api/functions/rotationmanager.setpriority.md)
