Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions How area texts are pushed into a new line?

  • How area texts are pushed into a new line?

  • Tomas Bumbulevičius

    October 13, 2021 at 12:55 pm

    Hey guys, I wonder is there a way to figure out whether text is moved into a next line inside area text box, by splitting contents of a layer by some special character?

    Idea is as follows – if we have a phrase in one line, but make area-text-box region smaller, it pushes overbleeding text into next line. Is there a way to detect that through expressions?

    I thought maybe it under the hood adds return carriage or “\x03” – but splitting phrase in a temporary layer by various options doesn’t provide that information.


  • Dan Ebberts

    October 13, 2021 at 11:09 pm

    I don’t know that there’s a way to do it based on characters, but it seems like you could compare sourceRectAtTime(time).height to the font size to see if there’s more than one line.

Viewing 1 - 2 of 2 posts

Log in to reply.

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