controlP5 toggle multiple booleans
in
Contributed Library Questions
•
2 years ago
I'd like to toggle multiple booleans with one toggle in cp5.
I have two booleans showGrid and redrawGrid. When showGrid is toggled it should toggle the redrawGrid boolean which then gets toggled back after the grid is drawn to the buffer.
Do I use a listener? I can't figure out the syntax…
Thanks a ton,
Rob
1