Single Click Mouse Movement

As you know in RPG Maker MV, when we hold to clicking left mouse button we can continuously move all around the map. What I need is when I click a tile with left mouse button, my character must just stop in that tile even I hold to clicking left mouse button over another tile. For example; the game "To the Moon" uses a mouse mechanic like what I want.

Alright, I've found the solution:

Open rpg_core.js and find this line;

TouchInput.isPressed = function() {
return this._mousePressed || this._screenPressed;
};

and change it with new code;

TouchInput.isPressed = function() {
return this._triggered;

Original thread: https://forums.rpgmakerweb.com/threads/single-click-mouse-movement.103629/