static and dinamic object?

How can i create an object that is “dinamic” only when i touch it( drag)??

http://docs.coronalabs.com/guide/events/detectEvents/index.html

How can i do it??

First you must detect touch event. Touch has different phases. At began phase you must change type to dynamic and at the ended (or canceled) set it back.

http://docs.coronalabs.com/guide/events/detectEvents/index.html

How can i do it??

First you must detect touch event. Touch has different phases. At began phase you must change type to dynamic and at the ended (or canceled) set it back.