-
Text follows logo
I have a version of this working properly that’s on the opposite side of the screen, but for some reason, I can’t get the left side version to work properly. I need the logo to follow the left-most character on line 2 as the line of text expands to the left. The text needs to line up flush right. What am I missing? I’ve attached the expression that works, but I can’t get the logo to follow the second line.
var xDist = thisComp.layer("SText").sourceRectAtTime().width * +1;
var logoWidth = length(thisComp.layer("LOGOS NON TYPE FACE").transform.xPosition, thisComp.layer("LINE 2").transform.xPosition)-50;
(thisComp.layer("Ctrl").effect("Logo Selector")("Slider") == 7) ? xDist - logoWidth :xDist;

