APIwasReleasedOn this pagewasReleasedDescription​ Returns true if the button state was released at the last read. bool was_released = button.wasReleased();