ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Expression for relative positioning and presetting it?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jake Abarra
Expression for relative positioning and presetting it?
on Jun 24, 2018 at 1:16:38 am

Hello,

I am wondering if it is possible to create an animation preset that involves relative positioning? I suspect that an expression is required for this type of thing.

For example, if I create a shape that has the position (x, y) I want an animation preset that will animate its position from x-50 to x. I am not sure if this is the right place to be posting this.

I have very minmal knowledge of expressions


Return to posts index

Dan Ebberts
Re: Expression for relative positioning and presetting it?
on Jun 24, 2018 at 7:01:15 am

Sure. You haven't specified when the animation happens, or how long it takes, but this simple example will move the layer 50 pixels to the right at the layer's in point over half a second:

ease(time,inPoint,inPoint+.5,value-[50,0],value);


Dan



Return to posts index

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