Making A LINE

Hello I am tring to make an app where you can draw a line. First I need to cde to draw a line, amd second i need to know how to make a ball fall down on the line (kinda like line rider). [import]uid: 44060 topic_id: 7832 reply_id: 307832[/import]