I have custom checkboxes and on click I change the state of a variable (image1) from false to true and vice versa. How do I make this scaleable? I have multiple checkboxes and I don´t want to have hundreds of variables just for this so I tried to create a mega variable. The problem I have now is to update only one checkbox.
When I don´t repeat the checkbox I would just update the value on click as shown on image2 (which doesn´t seem like a scaleable approach because I would have to manually update EVERY event when I add a new checkbox - but hey at least it works🥲).
When I repeat the checkboxes it doesn´t update the variable. I´ve tried using the get/set node but whatever I do it just overwrites the variable. (image3)
Would love to hear if anyone has a better approach for custom (repeated) checkboxes or could share a project.
Also I´ve heard that the proper way to build custom checkboxes is to use a html checkbox and then hide it, can anyone confirm?
Thanks a lot