Hi. I’m trying to figure out an expression which scales a layer so that it's left and right edges exactly match the location of two other layers ie. left edge matches layer 1's position and right edge matches layer 2's position. I’ve been fiddling around with Dan’s expression which positions a layer on the edge of a scaled layer but can’t seem to reverse the process.
Jarret,
I have a basic test file / expression that maybe just what you're looking for - scales, rotates and positions a layer on the basis of two nulls.