Skip to content

llGetCameraRot

function ll.GetCameraRot(): quaternion

Returns the current camera orientation for the agent the task has permissions for. If no user has granted the PERMISSION_TRACK_CAMERA permission, returns ZERO_ROTATION.

Add example usage here showing SLua/Luau syntax with ll.GetCameraRot().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.