-
Single script to control multiple properties
Hello everyone.
I’ve got a swarm of layers that need to be positioned and rotation controlled in a specific way. Now I know that I could just make a single layer, put all my expressions in relevant properties and then duplicate it as required. The real problem though is that if I have to change anything, I need to paste the new script to all layers again, which is doable but shouldn’t there be a more elegant way of doing this?
I know that an expression can’t control any other property than the one it’s been applied to (why not?), but I think I saw an example somewhere that used external javascript functions to do this. It was something like putting “function={“myfunc”}; to the desired property and then have your script sit somewhere and have it control all properties it has been applied to. Can anyone confirm this?