chon27 Posted October 3, 2014 Share Posted October 3, 2014 I need to get the tile index of a concrete Tile of my map. I write this: console.log(map.getTile(xBlock, yBlock, layer2, true)); and I get: But if I write console.log(map.getTile(xBlock, yBlock, layer2, true).properties); I get an empty Object. If the index property exist why can't I get it? I don't find another method for this. Thanks. Link to comment Share on other sites More sharing options...
chon27 Posted October 4, 2014 Author Share Posted October 4, 2014 I reply to myself: It's so easy as use: map.getTile(xBlock, yBlock, layer2, true).index Link to comment Share on other sites More sharing options...
Recommended Posts