ControlP5 button triggering onload
in
Contributed Library Questions
•
3 months ago
Hello all,
This is probably a really dumb question, but can't figure out how to solve it. I am creating a simple ControlP5 button with a function to receive changes from the controller, as per the example in the library. The problem is, the function associated to the button triggers once when the button is added to the cp5 controller.
How can I avoid the button triggering the function when loading?
Thanks!
This is probably a really dumb question, but can't figure out how to solve it. I am creating a simple ControlP5 button with a function to receive changes from the controller, as per the example in the library. The problem is, the function associated to the button triggers once when the button is added to the cp5 controller.
How can I avoid the button triggering the function when loading?
Thanks!
1