onMouseMove(action: (pos: Vec2, delta: Vec2)=>void): KEventController

Register an event that runs whenever user move the mouse.

paramaction- The function to run when the event is triggered.

returnsThe event controller.

sincev2000.1