-
Multiple Expressions on a single Parameter
Hi there,
I’m trying to have two animated controllers control the position of an object. I was able to get this to work by linking ‘CTRL 1’ to the position attribute and the ‘CTRL 2’ to the position attribute of an ‘transform’ effect that was added on top. I figured there should be a more efficient way of doing this through proper expressions.
At the moment, this is what my expression reads:thisComp.layer(“CTRL 1”).transform.position[0];
thisComp.layer(“CTRL 2”).transform.position[0];The object completely ignores ‘CTRL 1’, but it does react to ‘CTRL 2’ which is understandable. Is there a way to combine the two so that the object reacts to both controllers through expressions?
Any help would be greatly appreciated.
FYI – Sample file included: https://gofile.io/?c=8Eg7eW
thisComp.layer("CTRL 1").transform.position[0];
thisComp.layer("CTRL 2").transform.position[0];