Old Rpg maker XP "always on top" set move route but in MV

Hello everyone, is there a way to set the player or any event to be "always on top" as in the good old RPGXP?
Is there a script I can use to show always the player sprite over any tile even the top ones?
Thank you.
I don't know if there is a plugin for always on top specficaly but you can adjust the z index with some layer plugins. OCRAM has one and is still actively maintaining his plugins.
I've solved with the following script:

Code:
$gamePlayer.setPriorityType(X);

X = 0 (under)
X = 1 (same)
X = 2 (top)

Original thread: https://forums.rpgmakerweb.com/threads/old-rpg-maker-xp-always-on-top-set-move-route-but-in-mv.154125/