Mouse/Touch following Actor Problem
![Appster](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hi all, I have a problem here. I created an actor to follow a mouse (when inside). However when I move my finger too quickly the actor doesn't follows. How do I make a seamless movement where it always follows?
Comments
attribute pointer_in?, default value 1
rule: when mouse is inside, change attribute pointer_in? to 1
rule: when mouse is outside, change attribute pointer_in? to 0
rule: when attribute pointer_in? = 1, move to ([mouse.pos.X], [mouse.pos.Y])
I think that should do the trick, seeing as how it tells GameSalad that you're back inside when you are.