Skip to main content

ControllerManagedByGame

Callable

  • ControllerManagedByGame(buttons: readonly GamepadButton[]): boolean

  • Returns TRUE if current screen is a game that handles the controller, sends the input to that screen


    Parameters

    • buttons: readonly GamepadButton[]

      The raw button data

    Returns boolean