Create a variable for object interaction?

Mar 25, 2022

I've created an interaction with states that change when the learner clicks on each cup. They can click 4 times until the cups are full. What I want them to be able to do is empty one level when the other cup is filled by one level in this way, they will interact with each other. I have no idea how to do this, but I'm presuming some combination of variables can achieve this. Is this at all possible?

See attached.

9 Replies
Tom Kuhlmann

Just to see if I understand it correctly: 

When I click on coach, it adds 1/4. At the same time, you want coachee to decrease by 1/4. And if I click on coachee it adds 1/4 and at the same time coach decreases by 1/4.

So it's like the pass 1/4 back and forth based on what's clicked?

Is there a starting point for each? For example, they each start at half or full? Or do they start empty?