pressed property

bool get pressed

The GamepadButton.pressed property of the GamepadButton interface returns a boolean indicating whether the button is currently pressed (true) or unpressed (false).

Implementation

external bool get pressed;