Skip to content

llGetRootRotation

function ll.GetRootRotation(): quaternion

Returns the rotation (relative to the region) of the root prim of the object which the script is attached to.

Gets the global rotation of the root object of the object script is attached to.

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

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