Need help with Expression problem
- May 23, 2025
- 2 replies
- 469 views
Hej there,
I hope someone can help me with this. I attached the project file, so you might lokk for yourselves.
I am in the process of creating a lower third template for a client of mine. I'm working in AE, but ultimately want to export the template as a mogrt File to use in Premiere.
So, the requirement was to have a dynamic lower third with a particular background shape (rounded rectangle, but one corner to remain 90° – I worked around that by using two shapes and masking) that grows and shrinks with the amount of text that lies on top.
I split the text into two layers (Name and Title), so that they can have different fonts and colors when I export them as a mogrt File.
With a handful of expressions I got 95% of the way and I think it works, but I can't fix a last issue:
When the lower text layer "Title" consists of more than one line, it expands upwards and collides with / runs behind the upper "Name" layer AND simultaneously pushes the lower edge of the background shapes downwards.

What I want instead, is that, when lines are added to the "Title" layer, the "Name" layer moves upwards accordingly, so that "Name"'s bottom edge and "Title"'s top edge always keep the same distance AND the lower edge of the background shapes never extends downwards.
Does anyone have an idea how to mitigate that? 🙂
Thanks!
Arcus


