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
group
Input
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
group
Input
Assets
Game Obj
Components
Component Types
Scene
Input
Events
Info
Math
Misc
Button Bindings
GFX
Draw
Layer
Camera
Layers
Level
Plugins