---
title: "freelook"
---

> Documentation Index
> Fetch the complete documentation index at: https://aesthetic-docs.pages.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# freelook

Detach the camera from the player's body, or freeze it so the mouse no longer rotates it.
The [`rotation`](/rotation) service often enables freelook automatically while aiming.

| Function | What it does |
|----------|--------------|
| `freelook.active()` | `true` while freelook is on |
| `freelook.activate()` / `deactivate()` | Turns freelook on / off |
| `freelook.lock()` / `unlock()` | Freezes / unfreezes the camera |
| `freelook.locked()` | `true` while the camera is frozen |
| `freelook.yaw()` / `pitch()` | Current camera angles |

```lua
module:event("enable", function()
freelook.activate()
freelook.lock()
end)

module:event("disable", function()
freelook.unlock()
freelook.deactivate()
end)
```

Source: https://aesthetic-docs.pages.dev/freelook/index.md
