-
offset keyframes
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;
Sorry, there were no replies found.