Fixing position of the player

Hi!, Im new here I've been testing somethings these days, and I have a problem. Im activating an event by player touch which is moving a n NPC towards me, however while the NPC is moving me as a player can still move and I want its position to be fixed in the even tile, how can I do this?. Thanks in advance.
So in short, you want the player to stop moving while the event is moving? (I'm asking because the description is little confusing)
The easiest way to block player input is to create an Event (or go into an Event that you already have on this Map) and select "Autorun" (in the bottom left). This will block all players' input once this Event is active.

Next, I recommend you to learn Switches, Event Pages, and Event Conditions. There are many tutorials out there.
even with player touch the event should take priority over the player, so it is most likely something wrong with how you made the event.

please post a screenshot of the entire event and we can analyse it and help you correct it.

Original thread: https://forums.rpgmakerweb.com/threads/fixing-position-of-the-player.154015/