I set my movieclip can be drag.
when I press on it,and it is draged,how can drop it ,without release my touch?
thanks .
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
I set my movieclip can be drag.
when I press on it,and it is draged,how can drop it ,without release my touch?
thanks .
You'd have a function that removed the event listener, most likely. It depends what you want. You want it to stop after 5 seconds? Use a timer.performWithDelay(), you want it to stop in a certain place? Check X and Y during event or use a sensor (physics).