-
toWorld output
Hi there!
I’m having some trouble working around this expression. It is a simple rig to align a shape layer to the right/center/left depending on what you select.
It works just fine but I would like to parent this layer to a null object without changing its actual position.My question is how to turn the specific values that I set into toWorld values, so when I parent it to the null it won’t jump to another position.
For instance, how do I turn that “220” into a toWorld output?
Thanks!
y = transform.position[1];
align = thisComp.layer("Settings").effect("Settings")("Align");if(align == 1) toWorld([220,y]);
if(align == 2) toWorld([960,y]);
if(align == 3) toWorld([1700,y]);