Forum Discussion
Altering animation paths trough variable references and triggers
Is there a way to change a animation path through triggers?
Can we change the parameters to be a variable?
For instance
Example_Animation_path1
from
Y-20
to
Y%variable1%
- MathNotermans-9Community Member
You can create premade animation paths and trigger to show any specific one ( on separate SlideLayers eg. ) with the use of GSAP you can change the animation on the fly.
Here you see a sample on how triggers and SlideLayers can show/hide different motionpaths.
https://360.articulate.com/review/content/9f1b450d-fd15-4979-aed7-d166b79a11a2/review
If you check the attached sample you will notice you need a lot of layers to create a simple animation this way. And as you can see too, its tough to get seamless.
Next step is doing the same thing with GSAP in Storyline. - ThaddeusAshclifCommunity Member
Use at end of animation if ___ triggers.
Trigger <Animation2> when <Animation1> completes
if Variable Y=N
Triggering when animation completes lets you get the timing right without fuss. If you do this keep that animations short so the change happens quickly.