PassMode
Constants in the PassMode enum.
integer PASS_ALWAYS = 1; // Used with event-passing functions (e.g., llPassTouches, llPassCollisions) to ensure events are always passed from the child prim to the root prim, regardless of whether they are handled by child script handlers.integer PASS_IF_NOT_HANDLED = 0; // Used with event-passing functions (default behavior) to pass events from the child prim to the root prim only if there is no script handling the event in the child.integer PASS_NEVER = 2; // Used with event-passing functions to ensure events are never passed from the child prim to the root prim, regardless of whether they are handled by child script handlers.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
PASS_ALWAYS | integer | 1 | Used with event-passing functions (e.g., llPassTouches, llPassCollisions) to ensure events are always passed from the child prim to the root prim, regardless of whether they are handled by child script handlers. |
PASS_IF_NOT_HANDLED | integer | 0 | Used with event-passing functions (default behavior) to pass events from the child prim to the root prim only if there is no script handling the event in the child. |
PASS_NEVER | integer | 2 | Used with event-passing functions to ensure events are never passed from the child prim to the root prim, regardless of whether they are handled by child script handlers. |
Used by
llPassCollisionsfunctionSets the pass-collisions attribute. If pass is TRUE, collision events are passed from child prims to the root; if FALSE (default), they only trigger events in the affected child prim.llPassTouchesfunctionSets the pass-touches attribute. If pass is TRUE, touch events are passed from child prims to the root; if FALSE (default), they only trigger events in the affected child prim.