-
sourceRectAtTime does not work with text animators
I’m using sourceRectAtTime with some text layers. As I type the text I can see the background layer growing accordingly, however when I add a text animator so I can have the text build over time the background layer stops animating, it still recognizes the boundaries of the text layer via the sourceRect… expression but it does not animate its size over time.
Every single example I’ve seen online shows this is possible, but when I add the animator, either with keyframes or expressions it just freezes.
Any idea why? I’m using CC2019.
Below is the expression I’m using.
s=thisComp.layer("xp").effect("Layer Control")("Layer");
x=s.sourceRectAtTime().width;
y=s.sourceRectAtTime().height;
[x,y];