Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Reading an expression from sourse text

  • Reading an expression from sourse text

    Posted by Vasyl Iskovych on October 23, 2024 at 11:48 pm

    Hello.

    Can you please tell me if it is possible to make an expression written in sourse text on a text layer apply to many other layers in AE?

    A simple example:

    Create a text layer “control” and write “wiggle(1,10)” in its “sourse text”.

    And then make many other layers move at the specified frequency.

    I will be very grateful for your help.

    Vasyl Iskovych replied 2 weeks, 4 days ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    October 24, 2024 at 12:03 am

    Yes, something like this should work:

    txt = thisComp.layer("control").text.sourceText;
    eval(txt)
  • Vasyl Iskovych

    October 24, 2024 at 3:52 am

    Thank you very much for your help.

    I spent several hours searching for this information on the Internet, but I didn’t find anything.

    Thank you very much.

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