Dragging with TouchEvents?

Thanks, I'll try that out and will post back here if it works.

I always use currentTarget instead of target, because I often have other movieclips inside my holder MC. On mobiles, if you use target this will allow you to pull apart your movieclips into pieces!

M
That's interesting. I'll keep it in mind if I make a game for mobile devices.

Depending on your game/application it might be also a good idea to get the offset x and y (i.e. the relative location of the touch event from the object's "center") in the onTouchBegin function and use those in onTouchMove.

Original thread: https://box2d.org/forum/viewtopic.php?t=6474