-
control specific scale property values with a slider control.
hi
I want one slider to control the scale property like this; if the slider control is any value from 0 to 50, I want a layer to be 50, anything else same as the slider.
I am using this expression to accomplish it, but it is not working.s = comp(“comp”).layer(“layer”).effect(“effect”)(1);
linear(s,0,100,50,100)i have tried this one too to identify the two properties.
s = comp(“MAIN DESIGN”).layer(“MAin Control”).effect(“Logo Texture Size”)(1);
linear(s,0,100,50,100);[value[0], value[1]]
this one doesnt show errors but doesnt work.it seems to me I am writing it wrong because the scale property has two values.
how can I fix it to accomplish what I want?I used it in the opacity property and it works fine but not in the scale property.
I dont know how to write expression, I am learning.
Any help will be much appreciated.
Luis
s = comp("comp").layer("layer").effect("effect")(1);
linear(s,0,100,50,100)Live your life with passion