Skip to content

llGetRootPosition

function ll.GetRootPosition(): vector

Returns the position (in region coordinates) of the root prim of the object which the script is attached to.

This is used to allow a child prim to determine where the root is.

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

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