APIisPressedOn this pageisPressedDescription​ Returns true if the button is currently pressed. bool pressed = button.isPressed();