ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Markers to Trigger Animation

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Nathaniel Logan
Markers to Trigger Animation
on Jan 31, 2019 at 9:34:36 am

Hi,

Is there a way to trigger the Animation In and Out based on the layer markers, I'm trying to achieve that by the below script, it appears that the script only works for "Out" as of "In" is not working i guess because there must be a method that's missing , is there a different method to perform the same action twice but with different marker name.

Thanks,
Much appreciated.

m = thisLayer;
valueAtTime(time-m.marker.key("In").time);
valueAtTime(time-m.marker.key("Out").time);


Return to posts index

Tomas Bumbulevičius
Re: Markers to Trigger Animation
on Feb 3, 2019 at 1:47:18 pm

You should consider using interpolation methods. The expression you wrote is only able to put out results of the last line.

http://expressions.aenhancers.com/interpolation.html

By adding these methods, you will be able to control selected property values based by marker time indicators.

Find out more:
After Effects Tutorials: motion design, expressions, scripting.


Return to posts index

Nathaniel Logan
Re: Markers to Trigger Animation
on Feb 4, 2019 at 11:09:43 am

Thank you Tomas, that helped a lot :)


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]