-
Adding a logo to a lower third mogrt template
I am building a mogrt file in which I have a lower third that adjusts to the with of the text typed in. I would like to have the option to add a logo to the front of the name and have it adjust.
I created a comp that uses a slider control to chose a logo as one part.
I made that comp within the main comp have a checkbox on its opacity in order to simply turn it on in off.
This is what I currently have for text position for the lower third:
dName = thisComp.layer(“Name”).sourceRectAtTime(time).width;
value+[dName,0];
I thought I could do this to add the additional space but I am getting an error. I’m trying to learn expression but apparently I am missing something.
if thisComp.layer(“Logos”).transform.opacity = 100
then logoD=132
else
logoD=0;
dName = thisComp.layer(“Name”).sourceRectAtTime(time).width;
value+[logoD+dName,0];
Thanks for any help.