[Ace] Identifying tiles

I am working on a script that allows the player to push or pull object. This is working just fine. 

However I want to extend it so when I enable an event for pushing, I also want to pass an array of tiles on which it can pass. 

For example if I push a log, I want the player to be able to push it over water so it can use the log as a bridge. 

Currently I am using the $game_player.map_passable?(x,y,direction) method to see if the movement is allowed. 

I now want to know what tile is on x,y so I can match it with a given set of tiles. 

For example if I add Water(Dirt) and the tile on x,y is such a tile, the user should be able to push the log onto it. 

How can I do this? 

Original thread: https://forums.rpgmakerweb.com/threads/ace-identifying-tiles.24493/