Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions How to Loop In and Out?

  • How to Loop In and Out?

  • Mark Walczak

    April 18, 2013 at 2:52 pm

    Hi everyone,

    I have two linear keyframes within a Time Remap that allow me to recreate a timewarp that I was given from an Avid clip. I’m quite accustomed to using loopOut(“Continue”), as well as the respective loopIn equivalent, but is there a way to ‘stack’ the two, so I can continue the defined rate both before and after the set of keyframes that I have established?

    In my limited knowledge of expressions, I would imagine that it would look something like this, but it doesn’t work:

    loopOut(“Continue”);
    loopIn(“Continue”)

    Thank you so much in advance for your help!

    https://vimeo.com/explosivegraffix

  • Kevin Camp

    April 18, 2013 at 9:17 pm

    you need to set conditions to loopIn when time is before the first key, use the value when between the keys and loopOut after the last key…

    this should do it:
    if (time >= key(1).time){
    if (time > key(2).time) loopOut('continue') else value;
    }else{
    if (time < key(1).time) loopIn('continue');
    }

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Mark Walczak

    June 5, 2013 at 2:29 pm

    Kevin, I’m so sorry that it took me this long to reply, but your solution was absolutely perfect.

    Thank you so much!

    https://vimeo.com/explosivegraffix

  • Roei Tzoref

    November 8, 2018 at 11:00 pm

    also this:
    loopIn()+loopOut()-value

    Roei Tzoref
    2D/VFX Generalist & Instructor
    ♫ AeBlues Tutorials ♫
    http://www.tzoref.com

Viewing 1 - 4 of 4 posts

Log in to reply.

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