Keep distance between layers when scaling middle layer.
Hi, have three layres equidistant in y. Would like to scale the middle layer and have it 'push' the top layer up, bottom layer down but maintain the distance 'border' between them all.
Have got as far as - thisComp.layer("Null 1").transform.scale[0] - but this only creates a downward movement - can move up but only if I scale below 0 which of course I don't want.
Can anyone tell me how I'd go about making a positive scale factor push the top layer up?
Or if anyone knows how to sort this scale/boreder thing.
I basically have no idea what I'm doing so any help gratefully recieved.
Thanks.