-
sourceRecAtTime with variable sizes?
I have one layer (“Layer 1”) and am using “Layer 2” to add a basic border by adding
x = thisComp.layer(“Shape Layer 4”).sourceRectAtTime().width + 100;
y = thisComp.layer(“Shape Layer 4”).sourceRectAtTime().height + 100;
[x, y]
I’m trying to create a template for editors that can add that border layer with whatever image that they drop into to replace “Layer 1”.
Is this possible to do?
*adding an image just to show the scalability I’d like to achieve*