ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

expression to make a property value shift from 1 to 100 according to layer duration

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Marieven Artigas
expression to make a property value shift from 1 to 100 according to layer duration
on Jul 24, 2020 at 6:12:09 pm

Hello!

As the title says, I'm doing a chronometer countdown using a trim path in a shape layer. The main idea is making it go from 0 to 100 in start property, I'm currently using keyframes but it would be immensely practical if it could be just an expression in the property lo link the keyframes (or the value) to the duration of the layer since it's gonna change frequently (it's for a template ). Does anyone know how to achieve this? I've been looking for sliders, markers expression, anything that could work but so far no luck.

Thanks!


Return to posts index

Dan Ebberts
Re: expression to make a property value shift from 1 to 100 according to layer duration
on Jul 24, 2020 at 6:21:31 pm

Like this maybe?

linear(time,inPoint,outPoint,0,100)


Dan



Return to posts index

Marieven Artigas
Re: expression to make a property value shift from 1 to 100 according to layer duration
on Jul 24, 2020 at 6:28:20 pm

Thank you so much! It works just perfect.


Return to posts index

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