expression change value every frame

Explorer ,
Aug 06, 2022 Aug 06, 2022

Copy link to clipboard

Copied

hi everyone

is there a way to update a value every single frame?

e.g.  to run this expression every frame "y position = value + 5", so in frame one itl be 5, in frame 2 itl be 10 and so on...

thx very much! 

TOPICS
Audio , Crash , Dynamic link , Error or problem , Expressions , FAQ , Freeze or hang , How to , Import and export , Performance , Preview , Scripting , User interface or workspaces

Views

41

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 06, 2022 Aug 06, 2022

Copy link to clipboard

Copied

LATEST

Expressions have no memory so you can't increment a value calculated on the previous frame, but you could do something similar by basing your calculation on the current frame number. So an expression for y position might look like this:

value + timeToFrames(time)*5

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

Make your promotional social content with Adobe Express.

Get started quickly with free templates: