FORUMS: list search recent posts

Link position to scale

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Klemen Lozar
Link position to scale
on Feb 16, 2011 at 12:07:26 pm

Hello everybody!

I'm pretty new to expressions in AE and I need some help. I need and expression that would link x position to x scale of a certain layer. As an example - when I change the x-axis scale of some layer I want the x-axis position to change too.

Also is there a way for an expression to only affect certain keyframes of a layer?


Return to posts index

Dan Ebberts
Re: Link position to scale
on Feb 16, 2011 at 4:36:37 pm

You need to define the relationship between the scale and position. For example, the simplest expression would be something like this where the x position is equivalent to the x scale:

[transform.scale[0],value[1]]

but you probably have a more complex relationship in mind.

Dan



Return to posts index

Klemen Lozar
Re: Link position to scale
on Feb 17, 2011 at 8:53:40 am

Thanks Dan, but that doesn't seem do anything for me. When I scale a layer I want it to move to the left. I also want it to only do this for a certain keyframe...


Return to posts index


Dan Ebberts
Re: Link position to scale
on Feb 17, 2011 at 4:21:46 pm

How much to the left? I don't understand the part about "a certain keyframe". What is it that are you trying to do, exactly? To come up with an expression, you need a very precise definition of the requirements.

Dan



Return to posts index

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