-
Shape width match
Hello Folks,
I’m creating a responsive Lower Third MOGRT where the background shape layers behind the Speaker Name and the Speaker Title text resize depending on the width of each text layer (See attached AE file).
However, what I need to accomplish now is how to make one shape layer match the width of the widest of the background shape layers. For example: IF the Speaker Name background shape (which is defined by the width of the Speaker Name text) is longer than the Speaker Title THEN the Speaker Title background shape should resize to match the width of the Speaker Name background shape. I also would like to do the opposite so that at all times both backgrounds are the same width depending if Speaker Name or Speaker Title are the longest of the two.
I’m not sure if I need an IF/ELSE statement or use the Math.max expression. I’m using AE 2023 on Mac.
Any guidance on how to successfully accomplish this would be most appreciated. Or any other suggestions on how to accomplish the same effect are also appreciated.