Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions SetStyle in SourceText dont stuck with text on multiple lines.

  • SetStyle in SourceText dont stuck with text on multiple lines.

  • Smet Kira

    November 25, 2022 at 2:58 am

    Why does text written with expressions not work with style?

  • Andrei Popa

    November 25, 2022 at 7:03 am

    You also need to pass your text to the style property, something like this:

    str = "123" + "\r" + "345"
    text.sourceText.style.setLeading(105).setFauxBold(1).setText(str)
  • Smet Kira

    November 25, 2022 at 12:03 pm

    thx my friend! very helpfull!

Viewing 1 - 3 of 3 posts

Log in to reply.

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