releaseButton(btn: TButton): void
Release a button virtually.
param
btn- The button to release.
// press "jump" button pressButton("jump"); // triggers onButtonPress, starts onButtonDown releaseButton("jump"); // triggers onButtonRelease, stops onButtonDown
since
v3001.0