I don't know what you mean by merging, but the position doesn't move.
Do you mean an average of the two positions?
I can't see your example due to restrictions on the network where I work.
thank you Szalam. I got averaging with TrackerViz. what I wanted was adding them both as a streak of keyframes.
here is a Gif just for you.
anyway, the amazing Dan Ebberts nailed it. the full thread is here:
He is amazing.
There is always more than one way to skin a cat. Providing your layers don't overlap you can also use the outPoint of layer 1 like this:
L1 = thisComp.layer("Shape Layer 1");
L2 = thisComp.layer("Shape Layer 2");
if (time < L1.outPoint)
I tend to use in and out points for a lot of expression driven animations. It makes life a easier. You can also use "and" "or" and other arguments to look for things like the time between in and out points, overlapping keyframes on different layers and a bunch of other things.
Thank you Rick.