API reference
Preparing search index…

Joystick.isButtonPressed

  • Query the pressed state of the specified joystick button; indices start at zero.

    Parameters

    joystick
    number
    button
    number

    Returns

    boolean
    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0