STATUS_BLOCK_GRAB
constant
Constant
integer STATUS_BLOCK_GRAB = 0x40;Constant groups
Other ObjectStatusParam values (10)
STATUS_BLOCK_GRAB_OBJECT0x400STATUS_DIE_AT_EDGE0x80STATUS_DIE_AT_NO_ENTRY0x800STATUS_PHANTOM0x10STATUS_PHYSICS0x1STATUS_RETURN_AT_EDGE0x100STATUS_ROTATE_X0x2STATUS_ROTATE_Y0x4STATUS_ROTATE_Z0x8STATUS_SANDBOX0x20
This status flag keeps the object from being moved by grabs. It will only block grab moves of unlinked prims or the root of a linkset.
- To block grab moves of an entire linkset use
STATUS_BLOCK_GRAB_OBJECT
This means when a user tries to grab an object with this flag enabled, they will be unable to manipulate the object.
Examples
Section titled “Examples”Example 1
default{ state_entry() { // Block grabbing in this prim or the root if in a link_set llSetStatus(STATUS_BLOCK_GRAB, TRUE); }}History
Section titled “History”Added in SL 0.2.0
Known issues
Section titled “Known issues”- SVC-1773:
STATUS_BLOCK_GRABonly affects individual prims in a linkset
See also
Section titled “See also”Constants
Section titled “Constants”|
|
|
Functions
Section titled “Functions”Events
Section titled “Events”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.