-
sourceRectAtTime() update when keyframing the text source ?
Hi everyone,
I am using the sourceRectAtTime() expression to create a box around a text layer like this :par=thisComp.layer("TEXT");
rect = par.sourceRectAtTime(time,false);
padding=thisComp.layer("Control Text").effect("Padding")("Curseur");
w = rect.width+padding;
h = rect.height+padding;
[w,h]This works very well but I have no idea wether it’s possible to update the sourceRectAtTime() expression when I keyframe the source text of my layer.
If anyone could point me to the right way of doing it (if it’s even possible), that would make my day !
EDIT : I tried searching for the expression language reference on Adobe website but the sourceRectAtTime() expression is not listed…

