Page 1 of 1

How to create a connection between to coordinate values ???

Posted: August 1st, 2010, 11:49 am
by BlackPyro1994
Hi , I want to know how to make an Expression that can connect two values . I have an BlackLayer with an "Laser" Effect where I want to connect the Start Coordinate that everytime I change the value the Coordinate Value of my "Light" Effect copies this value automaticly.

Re: How to create a connection between to coordinate values ???

Posted: August 1st, 2010, 12:25 pm
by Dan Ebberts
Assuming your laser effect is on a 2D layer, it's probably going to be like this:

L = thisComp.layer("Light 1");
fromComp(L.toComp([0,0,0]))


Dan