Continuously checking variable values to trigger action
Hi, while working I always see that each trigger is dependent on something happening. But this is the scenario I have:
One slide. 15 objects to select and deselect. I want to add 1 to a number variable (let's say counter) each time an object is selected/interacted with. When the value reaches a certain number (let's say 5) I trigger another action. Now how do I
- add a number to a variable each time an object is selected
- constantly monitor the value of that counter variable to trigger an action?
I can of course add a trigger to all 15 objects so whenever any of the object is selected, it check whether the counter variable is 5 or not and then take the desired action. That means 15 triggers.
Any ideas? Thanks