While active, the user can't interact with in-world objects further than the limit (default 1.5 m) from the avatar's position. That covers touching, grabbing, selecting for edit, opening, and even hover tips. The avatar has to walk right up to things to use them. @touchfar is a synonym.
@fartouch[:<max_distance>]=<n|y>
@touchfar[:<max_distance>]=<n|y>
atof(). Omitted means 1.5. The effective limit is the smallest value across all @fartouch and @touchfar restrictions from all objects. A non-numeric option gives 0, which blocks all far interaction.The distance is measured from the avatar's agent position (roughly the pelvis) to the point clicked on the object (the pick intersection) when one is known, otherwise to the object's position. If it exceeds the limit, the following are refused:
HUD attachments are never limited.
canTouch()) applies the distance only to in-world objects: other avatars' attachments can still be touched from afar (selection and opening still go through the distance check). In CoolVL the distance applies to every non-HUD object, attachments included.@fartouch:3=y removes only fartouch:3.touch_end() and force-sit. RLV no longer stops @sit:<uuid>=force under @fartouch (that limit was removed in 1.16-era changes). Sitting by click is limited by @sittp, not by @fartouch.llOwnerSay("@fartouch=n"); // 1.5 m reach
llOwnerSay("@fartouch:3=n"); // 3 m reach (the lowest of all values wins)
updateLimits() (RRInterface.cpp 6911-6929): mFartouchMax = min(getMin("fartouch"), getMin("touchfar")). getMin() (974-1006) uses 1.5 for an empty option. It is called from add() (1329-1335), remove() and clear().canTouchFar() 6202-6214. In canTouch() (6153-6200) it is called only in the non-attachment branch.canTouch() (mkrlinterface.cpp 7317-7405) calls canTouchFar() before the attachment/in-world split, so the distance limit also applies to other avatars' attachments.updateLimits() (7447-7454) works the same way.This command works differently from RLVa's @fartouch; see the comparison.