Skip to content

freelook

Detach the camera from the player’s body, or freeze it so the mouse no longer rotates it. The 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
module:event("enable", function()
    freelook.activate()
    freelook.lock()
end)

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

Type to search…

↑↓ navigate↵ selectEsc close