ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

offset keyframes

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ethan Dolan
offset keyframes
on Mar 25, 2019 at 6:33:13 pm

I am trying to offset position keyframes according to the opacity value of another layer. Basically i have 4 keyframes, first two are starting animation and the last two ending. what i want to do is offset last pair of keyframe according to the opacity of another layer. This is not working. Here's what's my code looks like (i have created the num value so that the code will only work after specific time without affecting the of pair of starting keyframe ).

Any help would be much appreciated!!

var op = transform.opacity;
var num = time*20;
if(op == 100 && num > 80 ){
valueAtTime(time - 6.2);

}
else
value;


Return to posts index

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