Answered
Why path not centered in the text?


(what i want)

why the path is located on the left, not the center..


(what i want)

why the path is located on the left, not the center..
I think this will work:
L = thisComp.layer("why");
rect = L.sourceRectAtTime(time,false);
left = L.toComp([rect.left,0])[0];
right = L.toComp([rect.left+rect.width,0])[0];
h = thisComp.height;
p = [fromComp([left,0]),fromComp([right,0]),fromComp([right,h]),fromComp([left,h])];
createPath(p,[],[],true)Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.