User Tools

Site Tools


dragengine:modules:dragonscript:behavior_touchsensor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
dragengine:modules:dragonscript:behavior_touchsensor [2026/10/12 12:00] – dragonlorddragengine:modules:dragonscript:behavior_touchsensor [2026/11/20 16:51] (current) – [touchSensor.set] dragonlord
Line 124: Line 124:
 <action name='touchSensor.set'> <action name='touchSensor.set'>
   <parameter name='enabled'>true</parameter>   <parameter name='enabled'>true</parameter>
 +</action>
 +</code>
 +
 +===== touchSensor.update =====
 +
 +Update touch sensor.
 +
 +^Parameter^Value^Description^
 +|touching.runEvent|string|Run state machine event on all touching elements supporting [[behavior_statemachine|ECBehaviorStateMachine]]|
 +
 +This is an example of using this action:
 +<code xml>
 +<action name='touchSensor.update'>
 +  <parameter name='touching.runEvent'>effect.jump</parameter>
 </action> </action>
 </code> </code>
dragengine/modules/dragonscript/behavior_touchsensor.1791806455.txt.gz · Last modified: by dragonlord