onMouseMove(action: (pos: Vec2, delta: Vec2)=>void): KEventController
Register an event that runs whenever user move the mouse.
param
action- The function to run when the event is triggered.
returns
The event controller.
since
v2000.1
Register an event that runs whenever user move the mouse.
param
action- The function to run when the event is triggered.
returns
The event controller.
since
v2000.1
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Layer
Camera
Level
Plugins
Button Bindings