Function

onKeyRelease

(k: Key | Key[], action: (k: Key) => void): KEventController

Register an event that runs when user release certain keys.

param k- The key(s) to listen for.

param action- The function to run when the event is triggered.

returns The event controller.

since v2000.1

group Input

Function

onKeyRelease

(action: (k: Key) => void): KEventController
kaplay logo

Layer

Miscalenous