-
How to set a layers scale property within a sliders expression
Hi,
What I’m trying to achieve is a slider control that I can save as a preset and within the expression that is attached to the slider value I want to set the horizontal scale property of the layer the slider is applied to, and leave the vertical scale property as default 100.
I’ve been looking at something like the following but it won’t work:
temp = effect(“Slider Control”)(“Slider”);
thisLayer.transform.scale(temp, 100);Any clues as to what I am doing wrong?
Thanks a lot!