-
Control x position with text width when source text is linked to another layer.
Hi guys!
I have a Main Text Layer, controlling the text from another Text Layer (with different text styles from the main text layer).
I do have a 3rd Layer that needs to be affected by the position of the Text Layer width.In my head that would be something very straight forward to do. I should just use something like
thisComp.layer("Text Layer").transform.xPosition + thisComp.layer("Text Layer").sourceRectAtTime().width;Unfortunately, the expression is reading the width of the Main Text Layer instead of the Text Layer .
I’m also having the text-align to the Right, so the 3rd Layer should be moving to the left direction but I guess that’s just using a – instead a +.Thanks in advance!