Returning if a tile is "passable"

Hello, I hoping someone could help me solve a problem that I am having. I want to know how I could determine if a specific tile could be accessed by a player/event. I know how to get the Tile Id, terrain Id, if a path can be found to the tile and passability check of the tile itself but I don't know how to check if a tile has an event on it that causes the space to be impassable (that is, an event that is "same as characters" and does not have "through" marked).


Any help would be greatly appreciated. Thank you.
Use "get location info", event ID.(or look for the javascript equivalent of that event command)


It will return the ID of an event on that position - but if it returns zero, that of course means that there is no event.
Wonderful. Thank you Andar.

Original thread: https://forums.rpgmakerweb.com/threads/returning-if-a-tile-is-passable.57665/