Stop/Interrupt Timers
![TangoDownStudios](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
I have an object that you can move around the screen with the mouse. When you tap on the object it will follow the cursor, but a timer will have been set off that will fire in 2 seconds. After that 2 seconds the object will no longer follow your cursor and you will have to click on it again to resume following. The problem is that after the timer fires it is called again and won't let me select my item until the 2 seconds is up even though the mouse is not pressed.
My question is:
How do I make it so an item is movable for a certain period of time when you click on it, but when you declick it instantly becomes movable again (Just with another click)
My question is:
How do I make it so an item is movable for a certain period of time when you click on it, but when you declick it instantly becomes movable again (Just with another click)
Comments
Rule when
touch is pressed
--Timer For 2 seconds ... √ Run to Completion
---ConstrainAttribute self.Position.X To: touch1.Position.X
---ConstrainAttribute self.Position.Y To: touch1.Position.Y
in other words have/nest your constrains in your timer and your timer in your rule...
MH