Skip to content

llLinkSitTarget

function ll.LinkSitTarget(LinkNumber: number, Offset: vector, Rotation: quaternion)

Set the sit location for the linked prim(s). If Offset == <0,0,0> clear it.

Set the sit location for the linked prim(s). The sit location is relative to the prim's position and rotation.

Parameters
LinkNumber (number)
Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag of the prim.
Offset (vector)
Position for the sit target, relative to the prim's position.
Rotation (quaternion)
Rotation (relative to the prim's rotation) for the avatar.

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

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