p5.touchgui
p5.touchgui copied to clipboard
Callback common to three buttons
Hello and thank you for your work (and I hope your back to full health).
I have three buttons and I would like to use the same callback yet know which of the three has changed...is there a way to pass an argument to the 'printHello()' function in the button example?
I could hide the labels by changing their color to the button fill but I'd prefer using the buttons without labels.
thank you