Change scale property of a layer using expressions in an expression control
I would like to change the scale property of a layer, using an expression control effect applied on it. So basically, I don't want to apply the expression directly on the scale property. I want to apply it on a separate place so that I can easily copy paste the scaling effect on to other layers, without having to individually click on to the scale property of these layers.
So far, I know that I can access the layer property using:
thisLayer.transform.scale[1];
However, when I use:
thisLayer.transform.scale = [50,50];
nothing happens.
Can someone please help me. I just want to change the layer's scale property, by applying the expression in the effects area.
Thanks in advance!
