onTouchStart(action: (pos: Vec2, t: Touch)=>void): KEventController
Register 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
Register 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