I fel really stupid asking this but I need help with a mouse avioder.
[AS]
endX = _root._xmouse;
speed = 100;
if (Dodge == true) {
_x -= (endX-_x)/speed;
}
}[/AS]
This aviods the mouse, but not how I want it to. I want it to move farther away if your mouse is closer, rather than the way it is now and move farther if your father away.
I’m jus havin an off day lol.:hair: