Constant
cancel
: () => SymbolCancels the event by returning the cancel symbol.
onKeyPress((key) => {
if (key === "q") return cancel();
});
returns
The cancel event symbol.
since
v4000.0
group
Events
Cancels the event by returning the cancel symbol.
onKeyPress((key) => {
if (key === "q") return cancel();
});
returns
The cancel event symbol.
since
v4000.0
group
Events
Start
Assets
Game Obj
Components
Input
Events
Info
Math
Rendering
Draw
Debug
Plugins
Miscalenous