-
loopOut expression renders my linear expression disabled?
Hi there, I’ll try to explain my issue..
I have 2 text layers, I have successfully made the width of text layer 2 the same as text layer 1 by converting the width of text layer 2 into a percentage of text layer 1. this code is working on the scale transform of text layer 2. The animation has two keyframes on scale. All good so far until I try to add a loopOut(“pingpong”) expression as well to loop my two keyframes. It seems to disable the code above it.I hope this makes sense. Any advise is greatly appreciated ?
thanks
Jacx2 = text.animator("Animator 1_scaleToWord1 percentage").property.scale[0];
x = linear(time,key(1).time,key(2).time,key(1).value[0],x2);
[x,value[1]];loopOut("pingpong");
//when the last line - loopOut("pingpong"); is added the code above it is disabled.