Skip to main content
Known Participant
February 28, 2020
Question

Copying coordinates

  • February 28, 2020
  • 1 reply
  • 482 views

Hi,

 

I'm trying to connect a few null to puppet pins in the same location but connected to an imported ai file. I wanted to import the location of the puppet pins and copy them to the corresponding nulls, but I found out that the coordinates of the puppet pins were according to their location within the bounding box of the ai illustration. 

 

I can replicate the position manually, but I would like to improve my work-flow all the same, so nowing how to get around it would be great.

 

(in the image: coordinate copied to corresponding null, from bounding box to comp.

This topic has been closed for replies.

1 reply

Mylenium
Legend
February 28, 2020

You are going to need a toComp() layer space transform expression. Something like this (untested):

 

toComp(thisComp.layer("Flower").effect("Puppet")("Pin 1")

 

Mylenium

Known Participant
March 1, 2020

Where can I paste this expression?