Processing, button, void

Show button in the correct state in draw

Evaluate in mousePressed

See button example