Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions understanding time

  • understanding time

    Posted by Ryan Paterson on March 14, 2013 at 5:05 pm

    I understand why this doesn’t work, because the variable t is just giving the valueAtTime function a ridiculously high integer-

    t = timeToFrames() – 1;
    thisComp.layer(index – 1).timeRemap.valueAtTime(t);

    How can I re-write this to do what I want? I’ve been trying to understand how time works in expressions for some time and the fundamentals keep eluding me. What exactly is the time value returning in all those decimals?

    Dan Ebberts replied 13 years, 2 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    March 14, 2013 at 5:13 pm

    This is one way (I think it’s what you’re trying to do):

    t = time – thisComp.frameDuration;
    thisComp.layer(index – 1).timeRemap.valueAtTime(t);

    time gives you the comp time in seconds.

    Dan

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