So my characters are stuck when transfer from one map to another.

I discovered it's a switch causing this problem. But I don't know why. If I delete the switch everything works fine. The switches cause 4 rats to jump out of a hole. They are not hitting any other event or the player. I put 'through' on all the events just in case. The map is set to passible.
We can't help you without screenshots of your events.
Do you have the rat event set to autorun? That will stop the player moving.
Once they have jumped out do you switch the event to a second page?
As SGHarlekin says, without seeing your event this can't be anything more than guesswork.
@SGHarlekin Ok Added all the screenshots for the 1-page event. @Kes No, all the events are handled by one event. No. I just tell the one event to set the graphic to none.
@SGHarlekin Ok Added all the screenshots for the 1-page event. @Kes No, all the events are handled by one event. No. I just tell the one event to set the graphic to none.

If you are stuck as in you cannot move in the map AFTER you transfer, then the problem is on that another map.
The cause of player stuck and cannot move is usually either from an autorun loop or from event "set move route" that are stuck.
You said it's doing fine when you delete a switch. Mean there's probably an autorun event (in any page) on that another map with that switch as the condition.
In your event, I can see that everything is triggered by action button. Did you already change that? If you did, is it working fine with action button, but stopping everything with the switch?
set every move route to *not* wait for completion, see if that unstucks you.
if it does, it might be the rats being stuck somewhere, and unable to release control to the main loop.
Oops. I forgot to set it back to a parallel process. I will testing it to make sure the events and players could move around. They could. Not that it mattered. But yeah it's supposed to be on parallel process. It all works fine til I teleport out to the main map. That they had no trouble walking around on before. So the rats emerge switch is what messes everything up. No matter where I teleport them to they are stuck in place.
gstv87 The wait for completion is already unchecked on all the rats.
if a switch does something it is not supposed to do, then this usually means that switch has two functions assigned - the one you want and one you either forgotten or configured wrong.

you need to find out where else that switch is used, and remove that other use.
and there are several possibilities:
1) a common event is set to autorun and has that switch as its condition. Could even be an unused common event that does nothing, so you have to check everything there.
2) a map event on autorun is triggered by that switch. it has to be on the map the player is on when everything stops.
3) the switch triggers a map event that cannot complete its move route and blocks everything
4) you have a script that uses that switch for something else. you have to check the configuration of every script until you find that one.
@Andar Well, I just recently created the switch for that map only. And there are no autoruns on that map. I have checked every event. I switched all the events to 'through' so they don't block each other. I also have the players appear out of the way on the map so they are also not blocking anyone's path. The players are invisible. The switch isn't used in any scripts. I have even tried to changing where the player is teleported out into an empty shop. And is still stuck.
I have even tried to changing where the player is teleported out into an empty shop.
no, you have to test that another way.
make a new map, don't change anything (green grass default).
teleport the player there and test.

If the player is still frozen, then you have either a common event autorun or a script interfering.

if the player can move on the grass, the problem is on that specific map, either an event there or a passability problem or so.
I discovered I didn't need the switch after all and just used 'change graphic' to show rats jumping out of the hole. And it looks exactly the same. So thanks all.

Original thread: https://forums.rpgmakerweb.com/threads/so-my-characters-are-stuck-when-transfer-from-one-map-to-another.152414/