-
Expressions: Moving one layer in relationship with another layer.
Hello
I’m new to Expressions in AE so I turn to you guys for some help. I want one layer to move horisontal in relationship with another layer (for adding some 3D effect to the animation). From my scripting experience in actionscript I’ve come up with this:
thisLayer.position = thisComp.layer(“keyframe_animated_layer”).position*0.5;
This expression works, but it animates both the X and Y values. I havent found the syntax for accessing only the X values. Can someone point me in the right direction, and tell me if there is a more proper way to do this.Thanks,
Thomas