Skip to content

Object Target

Query objects by key for properties, ownership, and geometry.

What do you want to do?

Reference

9 topic entries

  • list llGetBoundingBox(key object)Returns the bounding box of object (including any linked prims) relative to its root prim in local coordinates, formatted as [ (vector) min_corner, (vector) max_corner ].function
  • vector llGetCenterOfMass()Returns the vector position (in region coordinates) of the center of mass. Returns the individual child prim's center of mass if called from a child, or the entire linkset's center of mass if called from the root.function
  • list llGetObjectDetails(key id, list params)Returns a list containing the requested parameters of the specified avatar or object id, retrieved in the order requested by params.function
  • key llGetObjectLinkKey(key object_id, integer link)Returns the key (UUID) of the linked child prim specified by link within the linkset identified by object_id.function
  • float llGetObjectMass(key id)Returns a float representing the mass of the avatar or object specified by id.function
  • integer llGetObjectPrimCount(key prim)Returns an integer representing the total number of prims in the object containing the specified prim.function
  • key llGetOwnerKey(key id)Returns the key (UUID) of the owner of the prim specified by id.function
  • string llKey2Name(key id)Returns a string containing the name of the prim or avatar specified by id. The target must be a valid, rezzed entity in the current region, otherwise an empty string is returned. Avatars return their legacy name.function
  • integer llSameGroup(key uuid)Returns TRUE if the agent or object specified by uuid is in the same region (simulator) and shares the same active group as the prim containing the script; returns FALSE otherwise.function