Touch a Primitive

31 July 2019

  • C10 - added the selection optional parameter.

19 May 2015

  • Release 8.12 - range is now an optional parameter and not required to locate the item.

<data Commands> Type: Corrade progressive command Command[wiki]: touch Description[wiki]: Corrade can be made to touch a primitive in a given range. Permissions[wiki]: interact Parameters[wiki]: group, password, item Last Changes[wiki]: Release 8.12 - range is now an optional parameter and not required to locate the item. </data>

Corrade can be made to touch a primitive in a given range. Note that Corrade does not mind whether the primitive is in a link-set or an attachment. It will touch any primitive regardless of where it is.

Command Required Parameters Required Corrade Permissions Example
touch group, password, item interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "touch",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // a primitive name or uuid
            "item", "helmet",
            // 5 meters
            "range", "5"
        ]
    )
);

item can be the name of an object or the UUID of an object.

Optional Parameter Possible Value Description
range A range in meters. The spherical distance from Corrade in which to locate the item.