Good day. I have a basic movement from top-down template,
so I want to add WASD movement to it:
The problem is in character movement to the point. When I’m clicking to any place the character starts moving to that point and WASD doesn’t work correctly - character trying to reach the point. So I want to stop moving to point when I’m using WASD movement. I tried Stop Movement function but seems like it happens every tick and moving to point won’t work:
The only way I can think about is to create branch where I’m check if any wasd key was pressed, but I think it’s overcomplicated.