Part of StarfallEx namespace
๐ External
joystick.getButton(enum, button)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Returns if the button is pushed or not
Parameters
| Name | Type | Description |
|---|---|---|
enum | number | Joystick number. Starts at 0 |
button | number | Joystick button number. Starts at 0 |
Returns
| Type | Description |
|---|---|
number | 0 or 1 |
Examples
No examples available.
Used In
No usages found in the codebase.