llGetRootRotation
Function Syntax
rotation llGetRootRotation(
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.