y=value[1]-sourceRectAtTime(time).height/2;[0,y]
y=value[1]-sourceRectAtTime(time).height/2; [0,y]
Apply this expression to the property you want to control (like opacity) and make sure it is referencing the correct control layer.
Control shape layer position with a Null - works like parenting, but keeps the relative position of your shape layer.
Inherit Opacity from parent layer
Get Β After Effects tips & tricksdelivered to your inbox