onMouseDown(button: MouseButton | MouseButton[], action: (m: MouseButton)=>void): KEventController

Register an event that runs every frame when certain mouse buttons are being held down.

sincev3001.0

onMouseDown(action: (m: MouseButton)=>void): KEventController