object follow closed loop

I need to move an object around a closed loop.  How?

Attached how far I got.

SolidworksMotion Studies