Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › expression to make a property value shift from 1 to 100 according to layer duration

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

    Posted by Marieven Artigas on July 24, 2020 at 6:12 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!

    Marieven Artigas replied 6 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    July 24, 2020 at 6:21 pm

    Like this maybe?

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

    Dan

  • Marieven Artigas

    July 24, 2020 at 6:28 pm

    Thank you so much! It works just perfect.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy