onButtonDown(btn: TButton | TButton[], action: (btn: TButton)=>void): KEventController
Register an event that runs when user press a defined button (like "jump") on any input (keyboard, gamepad).since
v3001.0
since
v3001.0
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Level
Plugins
Button Bindings