making a path

hi all;

I have a 2D texture that I want to have a path on it and control if a specific game obcject moves out of this path or not. How can I make my path?

Thanks all

I know you can do paths with iTween and move along them. You could try that.