Forum Discussion
Moving an Icon Along a Motion Path and then Back to Start Upon Layer Change.
Hello,
In my build, I have an icon that, when clicked, will move to the left via a motion path and then shows a layer. When the user hides the layer, I want the icon to move back along the motion path to initial position before showing the base layer. I can not get the icon to move back to start and stay there. Is this possible?
- WaltHamiltonSuper Hero
The object is on the base, and that's where it moves. I don't think you can control the motion path on one layer from another. It seems to me that your options are
1) show the base and move the object (clearly the easiest) or
2) create a duplicate object on the layer, move it, and show the base. What makes that tricky is that you have to also somehow move the original object back invisibly. You might be able to do it with a motion path that has a .1 duration. When the layer object moves, tie the completion of that path to a trigger that hides the layer, and another that changes the value of a variable (I would toggle a T/F). Then on the base, move the original object back on the short time path when the variable changes.
- RichardMulca257Community Member
- AndrewPember463Community Member
Oh that is awesome, exactly what I was looking for! Thanks so much and sorry for the late reply. I was only able to get the job halfway done, this help complete the animation to go back to start.
- RichardMulca257Community Member
No problem, Glad it worked out for you.