Stop draggable Objects

hello people :slight_smile:
i am trying to make that:
i have an algorithm to drag objects, and at the same time have gravity to one ball, that will collide with objects, but i want to make a button or object that when touched by the gamer cant drag the objects and the ball is affected by gravity, like bubble ball, i have all code, only need one button to stop drag objects,
anyone know how i can make it?

thank you very much [import]uid: 26056 topic_id: 15453 reply_id: 315453[/import]

All I did was remove the event listener when I needed the dragging to stop. Worked well for me. [import]uid: 31262 topic_id: 15453 reply_id: 57144[/import]

Andre, did you get a chance to read this article here

maybe it can help you stop objects from dragging and enabling them again as required.

cheers,

?:slight_smile: [import]uid: 3826 topic_id: 15453 reply_id: 57173[/import]

thanks aaaron and jayantV, it help me :slight_smile: [import]uid: 26056 topic_id: 15453 reply_id: 57268[/import]