MV Check event's priority type via script call

I'm scripting some event's movement outside the default pathfinding and these events should be able to detect whether they gonna have a collision with an unpassable event or not.
WIthout this script, they would just ignore events since and go right through.
you can do it with those:

0 = Below characters
1 = Same as character
2 = Above Character

$gameMap.event(id).setPriorityType(priority)

or in moveroute:

this.setPriorityType(priority)

just keep in mind, if you change map, it revert back to it's original priority type
abd those arent saved.
There are built-in character collision/passability check methods for this sort of thing. More context on your exact situation might help.
I'll check @ShadowDragon solution, thx 🙂
It's basically a single-direction dash movement.
I ended up using this 🙂

$gameMap.event(this.eventId()).isNormalPriority()
Solved
Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/check-events-priority-type-via-script-call.141824/