disable touch event when one event touch event is in use.

Hi Friends,

I am developing a game in which there are many objects, all have touch event associated with them. I want when one touch event is in use other touch events are disabled and on completion again it gets enabled.

Regards

Varun 

If you are not enabling multi touch, you won’t need to do that since only the first touch will be detected.

Adding to what Renato said, as long as multi-touch is not enabled, and you have the line:

return true

as the last line of your event function (before the end), then the event won’t be propagated to other objects.

If you are not enabling multi touch, you won’t need to do that since only the first touch will be detected.

Adding to what Renato said, as long as multi-touch is not enabled, and you have the line:

return true

as the last line of your event function (before the end), then the event won’t be propagated to other objects.