Toggle button / 2 states button / toggle switch

Hello,

I'm looking for a way to add a toggle button to a p5js sketch. Something like https://www.google.fr/search?q=toggle+button I have only been able to find this example https://p5js.org/examples/dom-input-and-button.html which make use of classic (monostable) button Is there a way to add a bistable button ?

Kind regards

Answers

Sign In or Register to comment.