Answered
Tracking the top middle of a layer for an expression
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.
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])Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.