Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Animate based on duration


  • Animate based on duration

  • Duane Walters

    January 19, 2022 at 2:31 pm

    This has to be a terribly simple thing, but this is day two looking for anything of value and I’ve come up short.

    Manually: slider control and you set a keyframe of zero at the beginning and at the end set it to 24 (but this number changes).

    Expression: no matter what you set the end goal of that slider to, it always finishes at the end of the comp.

  • Duane Walters

    January 19, 2022 at 3:42 pm

    I came up with this, I just feel like there’s probably a more simple way of doing this?

    linear(time, inPoint + 1, outPoint – 1, 1, effect(“Time”)(“Slider”));

Viewing 1 - 2 of 2 posts

Log in to reply.

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