stopping top down character movement

Hi. How can I stop the top down character’s movement when the left mouse button is released? I want him to stop instantly and not continue moving toward the last place the cursor was at.

Stop Movement after button release:

Ok. That looks simpler than my solution:

And I was kinda proud of myself for getting something that worked! lol.

And you should be. Looks like it would work.