Like evades.io(If you know the game) I want to be able to left click and make my player follow the mouse but the closer the mouse is to the player the slower it is and the farther it is the faster it is (But with max speed ofc)
Try MoveTo behavior. On every tick Move to (Mouse.x, Mouse.y)
If you configure deceleration, the object will slow down when close to the mouse cursor.
Forgot to add, think I had the moveto max speed set to 5k, same for acc and dec. But that ought to get you in the ballpark.
REPLY(Thanks so much and where do I set mx to mouse at because I can't find it
This is what I currently have
Develop games in your browser. Powerful, performant & highly capable.
This is the easiest method: