Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Scripting an Expression Remover

  • Scripting an Expression Remover

    Posted by Alej Martinez on August 31, 2015 at 5:30 am

    Hi,
    I’ve been working on a script but I just have one problem. I want to make add a button to my script that removes the expressions that were applied by the script. The script I have adds a wiggle expression to the position and rotation, is there a way in scripting to remove the expressions added by the script?

    Thanks in advance.

    Alej Martinez replied 11 years ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    August 31, 2015 at 7:10 am

    Just set the property’s expression to an empty string:

    myProperty.expression = “”;

    Dan

  • Alej Martinez

    August 31, 2015 at 3:55 pm

    Thank you so much! It worked!

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