pressButton(button: TButton): void
Press a button virtually.since
v3001.0
// press "jump" button pressButton("jump"); // triggers onButtonPress, starts onButtonDown releaseButton("jump"); // triggers onButtonRelease, stops onButtonDown
since
v3001.0
// press "jump" button pressButton("jump"); // triggers onButtonPress, starts onButtonDown releaseButton("jump"); // triggers onButtonRelease, stops onButtonDown
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Level
Plugins
Button Bindings