Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Create responsive masks for multi lines text in After Effects

  • Create responsive masks for multi lines text in After Effects

    Posted by Aurora Wang on January 8, 2023 at 6:25 pm

    Hi, I would like to create responsive masks for each line of the text.

    Here I refer to this video so I can create a responsive mask for one line text. (

    If I have a text with two or three lines, I want to set a separate mask for each line of text, how should the expression be written. I am thinking that sourceRectAt Time().height/textLines can be used. The key is that I don’t know the expression to get the number of text lines.

    Here is what I wrote for the first line mask but it doesn’t work.



    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

    Filip Vandueren replied 1 year, 4 months ago 2 Members · 2 Replies
  • 2 Replies

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy