Function
onTouchStart
(action: (pos: Vec2, t: Touch) => void): KEventControllerRegister an event that runs when a touch starts.
param
action- The function to run when the event is triggered.
returns
The event controller.
since
v2000.1
group
Input