Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Triggering time remap with marker

  • Triggering time remap with marker

    Posted by Doni Donovan on July 29, 2016 at 3:17 am

    Hi, this expressions is almost perfect for me..
    i just want to make animation run at marker “START” then reverse from 2sec-0sec at marker “OUT”
    So for example…
    frame 0 at “START” marker – animation starts and time remap is run at 0:00 to 2:00.
    frame 120 / 2 sec before “OUT” marker – animation reverse and time remap is run at 2:00 to 0:00

    fadeFrames = 60;
    n = 0;
    if (thisComp.marker.numKeys > 0){
    n = thisComp.marker.nearestKey(time).index;
    if (thisComp.marker.key(n).time <= time){
    n++;
    if (n > thisComp.marker.numKeys) n = null;
    }
    }
    if (n > 1){
    if (thisComp.marker.key(n).comment == "OUT")
    linear (time,thisComp.marker.key(n).time - framesToTime(fadeFrames),thisComp.marker.key(n).time,2,0)
    else
    0;
    }else{
    if (n == null) 0 else 2
    }

    Doni Donovan replied 9 years, 9 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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