So here's the problem:
When a user clicks on a certain object, I want to add 1 to the global variable that is mentioned in its instance variable.
So it goes like this:
User clicks on a button with instance variable BLUE
I then add 1 to the global variable called BLUE
Unfortunately I didn't see any way to dynamically target a variable, I only found through System and its variable options which requires to manually select the target.
Is there a solution to this?