Hi I’m not sure if there’s an alert/event or something that will say if a touch moves outside of the initial object.
I want the user to press and hold an object to pick it up, but if they are holding the object and their pointer moves outside the bounds I want the object to know that. I would think this would be a good use for event.phase == “cancel”.
Is there anything that does this or will I have to use a hack with the physics object or perform some math calculations?
Thanks [import]uid: 27076 topic_id: 18765 reply_id: 318765[/import]
In that case, you may be able to rely on physics system (not that it’s pretty since Corona doesn’t support ray casts/region queries). [import]uid: 58849 topic_id: 18765 reply_id: 72270[/import]