Event Layer Priority

I have 2 events that collide with eachother (both priority set to "above character"). One is moving (using set move route) and the other one is fixed. How does RPG Maker determine which event will appear on top of the other event?

The reason I'm asking is because I've got 2 different maps, with the exact same setup as explained above, but on one map the events are overlapping differently than the other. I can't figure out why. I tried seeing if it has to do with when the event was placed, but changing that doesn't seem to matter.

Thank you in advance for any replies!
When events have the same priority, the engine will then rely on each event's ID. So, the event with the higher ID will be shown above the other.
When events have the same priority, the engine will then rely on each event's ID. So, the event with the higher ID will be shown above the other.
Thanks for your reply. I thought it worked that way as well, as mentioned in my post, however it doesn't seem to in this situation. The event ID (not name) is higher, and it still appears below the other event (on one of the maps).

I wonder if the Options 'Through, Direction Fix' for the 'moving' event somehow causes to ignore this.

PS: Found the problem, it was because I was still using an old save to test the game. For some reason it worked after starting a new game.
You didn't quite say that--"when" an event is placed doesn't necessarily have to do with it's ID. For example, if you've made 10 events, and delete events 5 & 6, it leaves those two IDs open, so you can later create another event that'll have the ID of 5, even though there are others higher than it.

Anyway, I digress. Could you post screenshots of your events? Because that is how the engine handles event displays, so I think there might be something else that's affecting it, though I'm not sure it's those you've listed.

Edit: Glad to see you got it working! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/event-layer-priority.45339/