Forum Discussion
JeroenVerhoeckx
6 months agoCommunity Member
How to move a rectangle (group of objects) up and down?
Hello Storyline developers,
In the attached slide I want the move 'Group 1' up and down by a click. I already created two motions paths, but only the first one is executed. So 'Group 1' moves to t...
AlexMilyaev-f86
6 months agoCommunity Member
If you want motion path 2 to start after the second mouse click, you will need additional triggers. There are several ways to implement such a mechanism.
The most obvious and correct way is to use variables. For example, you can create a numeric variable. Let's call it count, for example. When clicking on the button, we assign the variable a value of 1 if the variable's value is 0. In the Else case, we set the variable to 0 (i.e., if the variable has a value of 1 - it will become 0). And we will activate the motion paths when the count variable changes. When the variable changes, we activate path1 if the variable's value is 1, in else we activate path2.