-
Controlling an object from another composition
Hi all!
I’m fairly new to expressions and struggling with some basic concepts, so bear with me.I have created a NULL in one composition and would like to control the position of this null in another composition.
When I add this to the position…
—
comp(“COMPNAME”).layer(“LAYERNAME”).position
—
… the null in “Compname” jumps to another location.I understand that the position of the null is RELATIVE to the position in the other composition, thus explains the jump.
So I need to get/feed the WORLD POSITION(?) instead.I found info about “Layer Space Transform” and this seems the solution but I have trouble to write the code correctly.
I need a variable to store this info?
—
VAR=startPoint.toWorld(VAR.anchorPoint);
—
Any thought/help for writing the correct expression (with explaination?)Thx in advance!!
Luc