simply use a dummy point expression control and connect it with a layer space transform.
thank you very much. However I didn't manage to implement your solution.
What I've done:
- I've created a dummy layer "Point Control" in the "start" comp and applied effect "Point Control"
- I've linked "Point" of effect "Point Control" to the position of the purple square in the same comp"
I then added this expression to parameter "Starting Point" of my "beam" effect:
Result: the beam's starting point remains at (200,200) which is the position inside the precomp, but not it's position in the main comp.
I must be missing something.
You do not create the point control inside the pre-comp, you apply it to the layer in the actual main comp. Of course anything else is possible just as well, but you will need to adapt the individual references.
That's it, thank you!