rex_toucharea2
Introduction
Get touch by tracking touchID, each instance could track one touch point.
Get touch by tracking touchID, each instance could track one touch point.
Get touch point
Using ("Expression:X", "Expression:Y") to get current touch point, and ("Expression:StartX", "Expression:StartY") to get start point of touched for each instance.
Using ("Expression:X", "Expression:Y") to get current touch point, and ("Expression:StartX", "Expression:StartY") to get start point of touched for each instance.
Get dragging vector
Using ("Expression:VectorX", "Expression:VectorY") to get dragging vector. Or "Expression:Angle", "Expression:Distance" in polar coordinate system.
Using ("Expression:VectorX", "Expression:VectorY") to get dragging vector. Or "Expression:Angle", "Expression:Distance" in polar coordinate system.
Touch events
"Condition:On touch start", "Condition:On touch end" will be triggered while touching start/release of instance. "Condition:Is in touch" will return true while touching instance. "Condition:On touch moving" will be triggered while dragging moving.
"Condition:On touch start", "Condition:On touch end" will be triggered while touching start/release of instance. "Condition:Is in touch" will return true while touching instance. "Condition:On touch moving" will be triggered while dragging moving.