|LSL Portal||Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials|
A grab is when a user clicks and holds the mouse button down on an object, then drags the mouse.
If an object is unlocked, not an attachment, and the avatar has move permission, the object can move along with the grabs. Drag moves horizontally, Ctrl-drag moves vertically, Ctrl-Shift-drag rotates. To move nonphysical objects, first enter move mode with + . Use llSetStatus to disable grab moves.
Grabs can be reported by llDetectedGrab(). Move permission and unlocked status are needed if the object is physical, but these restrictions do not apply for nonphysical objects. llDetectedGrab() works independently of the STATUS_BLOCK_GRAB and STATUS_BLOCK_GRAB_OBJECT flags.