I’m trying to create a movement system for my character, I’ve managed to set it up so that when you click, they move to the mouse location and if you hold, they keep moving to the mouse location. My issue is that if I hold the mouse down, when I release it, I want the player to stop, but they keep moving to the location and then stop.
So that works great for holding it down, but now it won’t move if you just click once.
Thank you! I did take a look at enhanced inputs but I’m doing it for a solo gamejam and it was a bit too complex for me. But afterwards I’ll definitely look in to it.



