@wtfrank Thx, but the room (callback parameter) is never visible to me. The room will be the room which is behind that wall. If I don't have database of accessible rooms (my scout data), then I would need to have one adjacent rooms visible and process the exit/wall information. It wouldn't be so simple and efficient.
wall.hits which is undefined in those tmp walls. And in my case I'm not reading the wall data, I'm just testing if a path is found on top of the exit tiles (a wall will block the path).
Thanks anyways for helping me out