Forum Discussion
MinhazMahmud
4 years agoCommunity Member
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 var...
MinhazMahmud
4 years agoCommunity Member
Thanks a lot for your solution. It helped.
While we are on the subject of adding values to variables, is there any way to directly add two variables? For example, if there are two variables x and y, currently we have to add the variable x to y and therefore changing the value of y as well.
But if we take another variable, lets say sum. Can we directly make this calculation of sum = x + y?
Currently we have to, Add variable x to sum, then add variable y to sum to get to sum = x + y.
PhilMayor
4 years agoSuper Hero
Create a variable called sum and add x and y to it
Sent from my iPhone
- MinhazMahmud4 years agoCommunity Member
Hi, yes. That is the way but in that way I cannot check whether the sum = x + y. I needed to check that condition to trigger another action.
Related Content
- 7 months ago
- 9 months ago
- 9 months ago
- 5 months ago