natives.IS_BUTTON_PRESSED
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.IS_BUTTON_PRESSED(int padIndex, int button)
The natives.IS_BUTTON_PRESSED function is used to Check if a button is pressed.
Parameters
| 1) | int | padIndex | Controller pad index (0 = player 1). |
| 2) | int | button | Button identifier. |
Return
| void | This function doesn't return a value. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.