How to Drag an Object with a Line following it?

Hi, I want to drag a ball on the screen and have a line following that ball wherever it goes. Does anybody have some sample code for this? I've looked everywhere and can't find any sample code on this.

Check out the pool sample app, that might be what you're looking for.

Hmm, thanks, but I'm looking for sample code where a line follows/trails the object wherever the object goes. The pool example doesn't have that. Anyone with any other ideas for sample code?

views:1776 update:2011/11/19 17:31:56
corona forums © 2003-2011