-
Changing Keyframe value using Expresion
i have an urgent project, and im struggling with this code.
in the comp there is a NULL and TEXT. the problem is that between the two keyframes the animation jump is case the text is empty, so pleaaaaaase help meeee :”(textlayer = thisComp.layer("text").text.sourceText;
n = 0;
kf = 2;
if (numKeys > 0){
n = nearestKey(time).index;
if (key(n).time > time) n-2;
}
if (n == kf && textlayer == ""){
t = time - key(n).time;
PositionX=effect("Slider Control")("Slider");
[PositionX,value[1]];
}else
value