-
How to add a specific value to a specific keyframe
Hi.
So, I have a shape layer which adjusts itself to another text layer.
This expression is under transform shape scale property.
t = thisComp.layer("PERGUNTA");
tRect = t.sourceRectAtTime(time,false);
tUL = t.toComp([tRect.left,tRect.top]);
tLR = t.toComp([tRect.left+tRect.width,tRect.top+tRect.height]);
myRect = sourceRectAtTime(time,false);
myUL = toComp([myRect.left,myRect.top]);
myLR = toComp([myRect.left+myRect.width,myRect.top+myRect.height]);
margin = 50;
[(tLR[0]-tUL[0] + 2*margin)/(myLR[0]-myUL[0]),(tLR[1]-tUL[1]+ 2*margin)/(myLR[1]-myUL[1])]*100I want this expression to define the properties of the 2nd keyframe as the first is always a 100%/100%.
Can I add a fixed ease between this keyframes or only linear animations?
Thanks in advance.