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

Register an event that runs when user releases mouse.

sincev3001.0

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

kaplay logo