Using buttons can simplify a program as each button has a procedure associated with it, meaning a large if statement isn’t needed if you have many buttons. Buttons can also be hidden or shown as they are needed in the program. That’s the advantages of using ControlP5.