Thanks everybody!
Dan, your information was especially helpful. I modified the expression slightly to reference another layer in the comp.
I’m using this for facial motion capture, where one set of pins/points effects the movement of another. The tutorials I’ve seen online so far require the two sets of facial tracking points to be exactly on top of one another. This line of code will allow me to have a normal human face effect a face with cartoonish proportions!
Take care,
Drew
parentPin = thisComp.layer("Shape Layer 2").effect("Puppet").arap.mesh("Mesh 1").deform("Puppet Pin 1").position;
delta = parentPin.valueAtTime(0) - valueAtTime(0);
parentPin - delta