Go to the database and under the tab "Tilesets", choose the tileset where the player is walking over houses, and make everything that he's not supposed to go over unpassable by clicking on the square tile until it shows and X instead of an O or a square.