We use sourceRectAtTime a lot for building mogrt's.
To make comps and shapes resize around text. images etc
// Get the first layer in the composition
var a = thisComp.layer(1).sourceRectAtTime();
// Width and height of the first layer
var width = a.width;
var height = a.height;
But in 2024 width and height are always 1000
tried:
sourceRectAtTime(time, false);
sourceRectAtTime(time, ture);
also this is always 1000:
var layer = thisComp.layer(1);
var width = layer.width;
var height = layer.height;
Tried on multiple workstations here, mac and pc.
Also no new method in the expression language reference
https://helpx.adobe.com/after-effects/using/expression-language-reference.html
When will this be fixed? It is quit essential for everybody making mogrts?