-
linear expression
Hy guys!
I have an expression which link my animation to my marker so i can strech the animation.
Can you help me how can I achieve to use bezier animation because linear()…is linear.Thank you very much! 🙂
L = thisComp.layer("Point_Control");
if ((L.marker.numKeys > 0) && (numKeys > 1)){
t1 = key(1).time;
t2 = L.marker.key(1).time;
val1 = valueAtTime(key(1).time);
val2 = valueAtTime(key(2).time);
linear(time,t1,t2,val1,val2);
} else {
value;
}