Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Adding loopOut() to existing expression

  • Adding loopOut() to existing expression

  • Navarro Parker

    June 26, 2014 at 6:30 pm

    I have a simple expression on a Slider control that has two keyframes.

    posterizeTime(4);
    Math.round(value);

    Adding a loopOut(); to the end of this ignores the Math.round(). But strangely, the posterizeTime() still is being applied.

    How can I add a looping expression to my existing expression?

  • Kevin Camp

    June 26, 2014 at 7:30 pm

    you can roll your own loopOut() cycle with valueAtTime().

    try this:

    Math.round(valueAtTime(time%key(numKeys).time))

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Navarro Parker

    January 12, 2016 at 9:48 pm

    This expression does not work with CC2015.

    Even if I just use it by itself with two keyframes, AE is giving me an error: “Invalid numeric results (divide by zero?)”

    Any ideas?

Viewing 1 - 3 of 3 posts

Log in to reply.

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