FORUMS: list search recent posts

Simple position expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Kosmo mishka
Simple position expression
on Mar 31, 2011 at 7:49:14 pm

I`m trying to move my layer every frame on 100 px.
I tried this

value+[value+100, 200]

and this

[x, 200]
.And I can`t understand why it is not working, how to write code to change position on some pixels every frame.
Using CS3, thanks.

Return to posts index

Dan Ebberts
Re: Simple position expression
on Mar 31, 2011 at 8:31:31 pm

Expression variables don't persist from frame to frame and any reference to "value" does not include previous results of the expression. You have to base it on time, like this:

value + [timeToFrames()*100,0]


Return to posts index

Mikhail Zhuk
Re: Simple position expression
on Apr 1, 2011 at 4:53:22 pm

many thanks!

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved