What it does
input.getKeyUp reads KeyUp on an input object. It takes "escape".
The API says: edge: just released
Signature
input.getKeyUp("escape")Arguments
"escape"
Example · generated
function update(dt) { const keyUp = input.getKeyUp('escape');}input.getKeyUp is called with values of the shape its signature asks for. The code sits in update(dt), which the engine calls every frame: dt is the time since the last one, in seconds.