-
Object isn’t attaching to the anchor point
Im trying to make a template of this animation but the black bar isn’t reacting with the anchor point in the way id like it to and i dont know how to fix it or make it react in the way id like.
I need an expression etc. that would adjust the anchor point depending on the length of the text so that the right side of the black bar is perfectly touching the left of the white bar.
The code posted is used within the Rectangle path of the black bar which scales it to fit the text.
L=thisComp.layer("Names");
X=L.sourceRectAtTime().width;
Y=L.sourceRectAtTime().height;
P=thisComp.layer("Control").effect("Slider Control")("Slider");
[X,Y]+[P,P]

