Newbie expression shape size to slider
Hi there,
I am a total newbie when it comes to expressions... I just can't understand the logic half the time (must read a book or something!)
Anyway I simply want to link the x and y size of my shape layer to sliders on a separate layer. In the current format one of these expressions....kinda works, then the second part overwrites it.
h = content("Rectangle 1").content("Rectangle Path 1").size[1];
[h, thisComp.layer("Size_Controller").effect("Size-Y")("Slider")]
w = content("Rectangle 1").content("Rectangle Path 1").size[0];
[w, thisComp.layer("Size_Controller").effect("Size-X")("Slider")]
Please advise,
Many Thanks,
Phil
