Copy link to clipboard
Copied
Trying to figure out how I would track the topmost middle of an arbitrarily changing shape layer for use in a expression. Said shape layer changes size to fit the size of a textbox.
An expression like this maybe:
L = thisComp.layer("Shape Layer 1");
r = L.sourceRectAtTime(time,false);
L.toComp([r.left+r.width/2,r.top])
Copy link to clipboard
Copied
An expression like this maybe:
L = thisComp.layer("Shape Layer 1");
r = L.sourceRectAtTime(time,false);
L.toComp([r.left+r.width/2,r.top])
Find more inspiration, events, and resources on the new Adobe Community
Explore Now