@interact=n is a broad "hands off the world" restriction. While it is active the avatar cannot touch, select or edit in-world objects, cannot rez anything, and cannot sit on objects through the user interface. HUD attachments are exempt, so the user can still operate their HUDs.
@interact=<y|n>
There are no options and no exceptions.
While any object holds @interact=n, the viewer:
canTouchFar returns false for anything that isn't a HUD attachment), and hides them from the mouse-pick used for hover and click handling;canEdit), deselects any in-world selection, and ignores rectangle (drag) selection;RRInterface::canTouch only calls the @interact check for non-attachments; attachments are covered by the general pick suppression in LLViewerWindow.LLAgent::sitDown() (sit on ground) returns early under @interact. This probably also makes @sitground=force ineffective while @interact is active, because that force command calls gAgent.sitDown().@sit:<uuid>=force is deliberately not blocked by @interact (the check is commented out "so that force-sit traps keep working").RestrainedLoveUseStrictGarbageCollectionRestrictions is on, Marine's viewer applies @interact=n (among others) from a temporary "Viewer Startup" pseudo-object at login, until the garbage collector removes it.// Hands tied: no touching, building or sitting until released
llOwnerSay("@interact=n");
// ...later
llOwnerSay("@interact=y");
mContainsInteract, refreshed in refreshCachedVariable (RRInterface.cpp:426).canEdit (6142-6151) and canTouchFar (6202-6214) consult the flag, excluding HUD attachments.found = NULL). Build tool: lltoolplacer.cpp:507. Rez by drag and drop: lltooldraganddrop.cpp:1877, 2494, 2570. Deselection: llselectmgr.cpp:5025 (marked "from KB"). Rectangle selection: llglsandbox.cpp:77.handle_object_sit), 4992 (near_sit_down_point), 7690; llagent.cpp:1625 (sitDown).@interact check in force_sit (RRInterface.cpp:1964-1968) is commented out.force_sit (mkrlinterface.cpp:2224-2229) does refuse @sit:<uuid>=force while @interact is active. Marine's viewer doesn't.LLAgent::sitDown() has no @interact check, so ground sitting (and @sitground=force) is not blocked there.@interact.No significant differences from RLVa's @interact.