Difference between revisions of "LlPassTouches"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
m |
|||
Line 2: | Line 2: | ||
|func_id=154|func_sleep=0.0|func_energy=10.0 | |func_id=154|func_sleep=0.0|func_energy=10.0 | ||
|func=llPassTouches|p1_type=integer|p1_name=pass|p1_desc=boolean, if [[TRUE]], touches are passed from children on to parents | |func=llPassTouches|p1_type=integer|p1_name=pass|p1_desc=boolean, if [[TRUE]], touches are passed from children on to parents | ||
|func_footnote=The default is [[ | |func_footnote=The default is [[TRUE]] if there is no script to handle the touch events. | ||
|func_desc=Sets pass-touches [[prim]] attribute. | |func_desc=Sets pass-touches [[prim]] attribute. | ||
|return_text | |return_text |
Revision as of 08:32, 20 January 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llPassTouches( integer pass );154 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Sets pass-touches prim attribute.
• integer | pass | – | boolean, if TRUE, touches are passed from children on to parents |
The default is TRUE if there is no script to handle the touch events.
Caveats
This has no effect if the child prim has no touch events in it. Touches are passed to the parent always when there is no touch event script in the child, no matter what this is set to. If you want to block touches from a child, you must add a script with a touch event in the child instead of using this function.