This starts from an open Motion Dock with Conga in a slot. To add it, open Edit Layout in the Motion Dock and add Conga to a slot.
1. Pick the path
Any mask path or shape layer path works, open or closed. In the timeline, select the path itself, its mask, or its path group, then click the path chip.
If you select a whole layer that has only one path, clicking the chip picks that path.
The chip now shows the layer and the path, such as Route › Road, and the miniature draws the path’s shape.
2. Select the layers
Select the layers you want on the path. The first one you select leads the line, and the rest follow in the order you selected them.
Dashed dots at the start of the path show how many selected layers will join the line.
3. Click Line up
Click Line up. The dots slide onto the path in the miniature and the tile counts the layers, such as 6 lined up.
In your comp, every layer now sits on the path, 10% of the path’s length apart, with the last one at the path’s start. With Orient Along Path on in the settings, each layer turns to follow the curve. A new null called Conga sits above them, selected, holding the line’s controls.
Hold Shift as you click Line up to space the layers in pixels instead, 100 px apart unless you change Spacing with Shift in the settings.
What you should see
The layers are on the path and the Conga null is selected. Drag the blue dot in the miniature, or keyframe Progress on the Conga null, and the whole line travels the path together.