llGetRootPosition
LSLvector llGetRootPosition()
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.
Takes no parameters.
Energy
10
The Linden Scripting Library — what every SL-compatible grid provides.