Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Number of times the expression code is run in a composition?

  • Number of times the expression code is run in a composition?

    Posted by George Felix on July 8, 2017 at 4:23 am

    A very basic question

    How many times does the expression code run in a composition?

    If I have 5000 frames in a composition and I have placed the below code in a text layer, does the code run one for the life of the composition or does it run 5000 time, once on each frame.

    X = 5;
    X = X + 1;

    George

    Dan Ebberts replied 9 years ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    July 8, 2017 at 6:28 am

    Since the result of your expression doesn’t change from frame to frame, the result may get cached–I’m not sure. But if your expression generates a new result on each frame it would have to be evaluated on each frame.

    Dan

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