releaseButton(button: TButton): void

Release a button virtually.

sincev3001.0

// press "jump" button
pressButton("jump"); // triggers onButtonPress, starts onButtonDown
releaseButton("jump"); // triggers onButtonRelease, stops onButtonDown
kaplay logo

Misc