Forum Discussion
Motion Path Help
I searched quite a bit for an example of how to do this and can't seem to find one. In the attached file, I have a drag-and-drop style activity where the user can click each object to automatically move them on a motion path. I have a "reset" button, where all of the objects that have moved along their initial motion paths will return to their starting positions, but how can I set it so that if the user clicks the object again once it's at its endpoint, it automatically goes back to it's starting point? Right now, if the user clicks the object a second time, it moves along the same original motion path.
- NedimCommunity Member
To use the same motion paths that reset to their starting positions when the "Reset" button is clicked, create an additional trigger and modify the existing one for each object so that it returns to its starting position when the object is clicked again, as follows:
Attached is modified version of your .story file. - PhilMayorSuper Hero
toggle a variable for each object and choose which animations fire based off the variable value.