Hi there. Im really a newbie regarding expressions in After Effects, so i know this might be a dumb question, but i really did a search and didn´t found the answer to my problem.
So, what i need is a layer,lets call it Layer 01, that moves according to the movement of another layer,Layer 02.Sounds easy enough. So i alt click the position property of Layer 01, i pick whip it with the position property of Layer 02, and cool, Layer 01 follows the movement of Layer 02 perfectly.
BUT, the thing is that Layer 01, although it follows the movement of Layer 02,its not in the position that i want it to be,i need it to be like… 50 pixels to the left and 80 pixels down (but following the exact same movements as Layer 02 still).
So,the expresion i got in Layers 01 position when i pick whip the properties was this:
thisComp.layer(“layer 02”).transform.position
I see that trying to change the position using the slider in Layer 01 obviously doesn´t work because the position is link to the Layer 02 position. So, with trial and error,i found it that if i add a -50 to that expression,so it looks like this:
thisComp.layer(“layer 02”).transform.position-50
,Layer 01 moves 50 pixels to the left (in the “x” axis),but still following the movement of Layer 02,exactly as i wanted. So… how the hell can i make Layer 01 move 80 pixels down in the “y” axis?
I´ve tried lots of expressions i saw on the web but nothing seems to work.
Again… i know this may be a stupid question, but im really new to expressions.
Any help would be greatly appreciated.
