Question
sourceRectAtTime won't fit the text source layer size
Hi everybody,
I'm starting with expressions and I'm currently learning how to the sourceRectAtTime but it won't fit.
It makes the shape layer a lot wider than the text layer:
This is the code that I'm using:
var s = thisComp.layer("tutorial");
var w = s.sourceRectAtTime().width;
var h = s.sourceRectAtTime().height;
[w,h];
I'm on AE 2019. I don't know if it has something to do with it.
Thanks for all your help,
Sebastian
