Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Two loop expressions on one parameter

  • Two loop expressions on one parameter

    Posted by Konstantin Kartashov on June 23, 2013 at 7:10 am

    Hi guys. I have such issue – i wanted to make infinite cycle of motion, to have possibility freely move it forward and back in time. So i thought i just could use both of loop expressions loopIN and loopOut. I put comma between them, but it didn’t work (only second expression is working).
    So please give me a tip, how to combine these two things.

    Konstantin Kartashov replied 12 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    June 23, 2013 at 8:33 am

    This should do it:


    if (numKeys > 1){
    if (time < (key(1).time + key(numKeys).time)/2) loopIn() else loopOut();
    }else
    value

    Dan

  • Konstantin Kartashov

    June 23, 2013 at 9:50 pm

    Just what the doctor ordered!! Many thanks, pal!! TBH i hoped it will be little easier expression 🙂

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