-
Right aligned text – sourceRectAtTime
First of all I’m not very versed in code, just know my way to get by..
I have a lower third which I need to come on from the right, and be right aligned.For the left lower third I’ve just used..
Size:
“s =thisComp.layer(“Text Duplicate (No Effect)”);
x = s.sourceRectAtTime(time-s.inPoint,true).width + 200;
y = s.sourceRectAtTime(time-s.inPoint,true).height + 50;[x,y]”
Position:
“content(“Rectangle 1”).content(“Rectangle Path 1″).size/2”This works great for left, but I just can’t seem to work out how to make it work for right alignment?
Any help would be greatly appreciated!