Simple expression to parent to layer’s position that is inside other comp. it uses absilute positions of layer with help of .toWorld expression:
JavaScript
parrent layer=comp("MainComp").layer("layer");//parent layer that would drive out child
layernparrent layer.toWorld(parrent layer.transform.anchorPoint)*(-1)+value;
Leave a Reply