Drag an object on the random path

Hi,

I want to drag an object on this path or random path .
If you are not getting my point Please look on the attached image.

or look to this link.

Hope any one can help me.

with extreme hopes…

:hang: