Page 1 of 1

How to use toComp() and fromComp()

Posted: February 28th, 2021, 9:28 am
by Strrrella

I've read "layer.toComp(point)" in the book named The Power of Expression. It said that toComp() method works like a translator, taking the position value from inside a layer space and translating it to the equivalent position value in the composition space.
I was confused about the composition space, what's the difference between the space of composition and layer? And where shall we use these two expressions?

Thanks for your help!!!