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

Register an event that runs when user releases mouse.

paramaction- The function to run when the event is triggered.

returnsThe event controller.

sincev3001.0

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

kaplay logo

Misc

Layer