Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Way to set the source text and style all in one line?

  • Way to set the source text and style all in one line?

    Posted by Eoin Duffy on December 12, 2023 at 1:29 am

    Simplified here to showcase what I’m after. But essentially, only the bottom line fires, ignoring the top. Any way to make both fire would be greatly appreciated 🙏!!!

    style.setFontSize(180);
    text.sourceText = "yo";

    (**the end product will be more complex, pulling style from one layer and source text from another)

    Dan Ebberts replied 2 years, 5 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    December 12, 2023 at 1:34 am

    Try it this way:

    style.setFontSize(180).setText("yo")

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