Hi Reed
What you ask is pretty simple to do, copying the path data an pasting it to the position of the Electron layer.
But since this is with shape layers there are few things to check before copying and pasting:
1. Vector data must be copied from a bezier path so if you didn’t create the Oval shape with the Pen tool you’d probably need to convert it, here’s how:
Right Click on Content-> Ellipse 1-> Ellipse Path 1 and select the “Convert to Bezier Path” Command.
Now the Ellipse Path 1 changed to Path 1, so you can open it, select the Path Property and copy to the clipboard.
2. Now when you have the Vector data you need to paste it directly in the Position property of the Electron Layer.
So open the transform->Position property (or simply press P on the keyboard), Select the Position property and Paste.
now you can see that the Electron motion path is the same as the Oval Path. if it shifts a bit, you can move the Electron’s Anchor point or adjusting the path by selecting all of the keyframes and dragging to motion path the the proper location.
3. Looping can be simply done by copying and pasting the keyframes 4 or 5 times, I personally Prefer to use the loopOut() or loopIn() Expression on the position value.
If you find your self doing this multiple times I suggest taking a look at ArrowHead. It’s a tool I developed to create Arrows along paths But it’s great also for attaching layers to the path and animating them along it.
You can find it in: https://www.vdodna.com/products/arrowhead/
I hope this helps!
Best Regards
Liran Tabib
http://www.vdodna.com
