Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Copy a layer’s keyframes, but later in time.

  • Copy a layer’s keyframes, but later in time.

    Posted by Navarro Parker on August 3, 2012 at 9:58 pm

    I have one layer X that’s 30 frames long. I have several parameters keyframed.

    I have another layer Y that’s the same length, but later in the timeline. I want it to copy the same animation. But Pickwhipping doesn’t respect Layer Y’s location in the timeline. It only copies values at the same time as the original.

    Is there a way to for Layer Y to take into consideration its position in timeline so the pickwhipped value is offset in time by the right amount?

    Dan Ebberts replied 14 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    August 3, 2012 at 10:44 pm

    Something like this probably:

    L = thisComp.layer(“X”);
    t = time – (inPoint-L.inPoint);
    L.transform.position.valueAtTime(t);

    Dan

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