ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

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

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
George Felix
Number of times the expression code is run in a composition?
on Jul 8, 2017 at 4:23:34 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


Return to posts index

Dan Ebberts
Re: Number of times the expression code is run in a composition?
on Jul 8, 2017 at 6:28:33 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



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]