Function

onTouchMove

(action: (pos: Vec2, t: Touch) => void): KEventController

Register an event that runs whenever touch moves.

param action- The function to run when the event is triggered.

returns The event controller.

since v2000.1

group Input

kaplay logo

Layer

Miscalenous