Adjust Variable No Matter What is Clicked

Feb 10, 2021

Hi Team!

I'd like for a variable to adjust up in value by 1 no matter what is clicked on the layer. I'm using it to advance to the next layer. Is this possible without having to add the trigger to every item on the slide? If not, I'd have 24 triggers to make this happen.

Thanks in advance.

2 Replies
Walt Hamilton

As I think this through a little, here's what I come up with. If you want to register (for whatever reason - keep track, count, ?) that the learner clicked on any of the 24 objects then each of them must have a way to uniquely register the mouse click. Then it can initiate the actions associated with it. So you are going to have to attach the "increment variable" to each of the ones that needs to add to the variable. Fortunately, that's not difficult. Write the trigger, copy it, select the objects you want it copied to, and paste it. 

If you don't want any other action when an object is clicked, then yes, you can do it with one trigger. Place a shape over the top of the entire slide, filled with a color, and set to 100% transparency, and it will register all the clicks anywhere.