Difference between revisions of "LlPassTouches"

From Second Life Wiki
Jump to: navigation, search
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 [[FALSE]] if there is no script to handle the touch events.
+
|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

Summary

Function: llPassTouches( integer pass );

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.

All Issues ~ Search JIRA for related Bugs

Examples

See Also

Events

•  touch_start
•  touch
•  touch_end

Functions

•  llPassCollisions

Deep Notes

Search JIRA for related Issues

Signature

function void llPassTouches( integer pass );