My english is bad. But. :) 
I need to create an object, which is able to move on the line or curve. 
Is there any function for this, or do 
I have to do this by myself? It's about an existing or created line or curve and I would like to say object to move on this line.