Stop drawing and touch detecting

So i have an app that is making a drawing system by spawning tons of circles, and if you fail to keep a ball from hitting the bottom sensor it resets the game by restoring the ball and deleting the drawings.

However, when the reset function is called, i want it to stop the user from currently drawing. Is this possible?

I tried return true with no luck. I know removing a runtime listener might work but that seems tedious considering I would just add it again. [import]uid: 59735 topic_id: 27989 reply_id: 327989[/import]

If you don’t want to be receiving a certain type of event you should remove the listener. In the case of actually stopping drawing and listening to touches while drawing, I don’t think there’d be a problem. Best practice might simply be to set a flag which indicates whether objects can be drawn, however, as you will later start listening for touches again anyway. [import]uid: 8271 topic_id: 27989 reply_id: 113239[/import]