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

Register an event that runs when user clicks mouse.

sincev3001.0

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