-
Controling time between keyframes
Hello everyone, I wonder if it’s possible to control the time between keyframes or to achieve the same effects without keyframes.
I have a camera and I am trying to control the x position, the situation is, I have two keyframes, and the expression is connected to sliders where I control the first and the second value of keyframes. Is it possible to control the time between keyframes with slider?
This is expression:
var a = thisComp.layer(“Camera Settings”).effect(“Camera In Animation X”)(1);
var b = thisComp.layer(“Camera Settings”).effect(“Camera Out Animation X”)(1);
if (numKeys > 1){
t1 = key(1).time;
t2 = key(2).time;
v1 = [a];
v2 = [b];
ease(time, t1, t2, v1, v2);
} else {
value
}