Expression for lower third mogrt
- May 19, 2021
- 3 replies
- 1255 views
Hello! I need to create an animated lower third and export ir as a mogrt.
I have a box with three rounded corners and two lines of text inside it, as shown in the video attachment.
The box is made of one triangle, two rounded rectangles and a squared rectangle in the middle, as shown in the picture below.
I used the following expression on the anchor point of the rectangles to have them scale from left to right:
xSize = content(1).content(1).size[0];
[-xSize/2,value[1]]
However, I still need to keyframe the size. I wonder if it's possible to make the size of the box change as the text layer is edited, but without changing the rounded corners radius... I've seen tuorials for automated text boxes but they are always with squared rectangles.
In my mind, I need some expression to parent the size of the rectangles to a box with the text inside it, but I can't think of it
Thank you!
