FORUMS: list search recent posts

Copy a layer's keyframes, but later in time.

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Navarro Parker
Copy a layer's keyframes, but later in time.
on Aug 3, 2012 at 9:58:00 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?


Return to posts index

Dan Ebberts
Re: Copy a layer's keyframes, but later in time.
on Aug 3, 2012 at 10:44:13 pm

Something like this probably:

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


Dan



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]