@touchthis:<uuid>=add stops the user touching the object with that key. It works on in-world objects, attachments and HUDs. Because the target is named in the command, one object can lock another.

Syntax

@touchthis:<uuid>=<add|rem>     (=n/=y also work)

Parameters

uuid
Key of the object's root prim. The check compares this with the root of whatever prim was clicked, so a child prim's key won't match.

Caveats

Examples

// A cage controller makes its door unclickable for the captive
llOwnerSay("@touchthis:" + (string)door_root_key + "=add");

Implementation notes

Marine: the last test in canTouch() is contains("touchthis:" + rootID) (RRInterface.cpp:6196-6199).

Client differences

No differences found between Marine's RLV and CoolVL. CoolVL tests it earlier in the sequence (mkrlinterface.cpp:7355-7358), with the same result.

See also

Comparison with RLVa

No significant differences from RLVa's @touchthis.