natives.IS BUTTON PRESSED
Jump to navigation
Jump to search
natives.IS_BUTTON_PRESSED
Signature: void natives.IS_BUTTON_PRESSED(int padIndex, int button)
Usage: Check if a button is pressed.
Parameters
- int padIndex Controller pad index (0 = player 1).
- int button Button identifier.
Return
void
On failure: void