While @touchall=n is in force, the user can't touch (click) or grab any object that isn't a HUD. That covers rezzed objects, their own attachments and other avatars' attachments. HUDs still respond. Use @touchhud for those.

Syntax

@touchall=<n|y>

Caveats

How touch restrictions combine

Every touch goes through canTouch(), which takes the root prim of the object clicked and checks, in this order (Marine):

  1. If that root object holds @touchme: allowed, and nothing else is checked.
  2. Not a HUD and @touchall: refused.
  3. Attachment, not a HUD: refused under @touchattach. If it is the user's own attachment (found in their inventory): refused under @touchattachself. Otherwise: refused under @touchattachother or @touchattachother:<wearer>.
  4. HUD: refused under @touchhud unless there is an exception for that HUD.
  5. In-world object: refused under @touchworld unless there is an exception for it; also refused if it is out of reach (@touchfar/@fartouch distance, or @interact).
  6. Finally, refused under @touchthis:<root uuid>.

Examples

llOwnerSay("@touchall=n");

Implementation notes

Client differences

For @touchall itself there are none. CoolVL's canTouch() (mkrlinterface.cpp:7317-7429) checks contains() directly instead of cached flags. It orders the tests differently: @touchhud, then @touchthis, then reach, then the attachment and world tests. The final result differs only in the cases noted on @touchfar, @touchhud and @touchattachother.

See also

Comparison with RLVa

No significant differences from RLVa's @touchall.