Skip to content

llGetCameraPos

function ll.GetCameraPos(): vector

Returns the current camera position for the agent the task has permissions for.

Returns the position of the camera, of the user that granted the script PERMISSION_TRACK_CAMERA. If no user has granted the permission, it returns ZERO_VECTOR.

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

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