Skip to main content

isPressed

Description

Returns true if the button is currently pressed.

bool pressed = button.isPressed();