I increased the player's speed, but they only move 1 tile at a time when clicking the map. They move fine with the arrows.

I am using RPG maker MZ V 1.7.0

Hello there. I have set up an event to make the player's speed really fast when they enter a certain map. When using the arrows, they move fine, but when clicking the map they only move one tile at a time, instead of going to the tile I clicked on like normal. Here is the code I used in the event to increase the speed:

$gamePlayer.setMoveSpeed(10)


I would like it that the character goes to the area I clicked as fast as possible. Thank you for any help, I appreciate it.
Are there any sort of events in the way? I've had this happen with below-player priority events sometimes.
The mouse click uses A* pathfinding to calculate the shortest path to the destination. I don't know if it's possible to make it run that much faster. The arrow keys are directly controlling the player so there's no pathfinding.
Are there any sort of events in the way? I've had this happen with below-player priority events sometimes.
Screenshot 2023-07-16 211859.png


Screenshot 2023-07-16 211919.png

Thanks for replying. These are the only events I have on the page, perhaps I have them set up incorrectly somehow?
Read my post above. It's a difference between direct input controls vs a processor heavy pathfinding algorithm. You would have to use a plugin to change the mouse click to not use pathfinding, or try to use an algorithm that's faster/more efficient but even that has limits.
Read my post above. It's a difference between direct input controls vs a processor heavy pathfinding algorithm. You would have to use a plugin to change the mouse click to not use pathfinding, or try to use an algorithm that's faster/more efficient but even that has limits.
I see, thanks for explaining, that helps a lot!

Original thread: https://forums.rpgmakerweb.com/threads/i-increased-the-players-speed-but-they-only-move-1-tile-at-a-time-when-clicking-the-map-they-move-fine-with-the-arrows.159387/