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