getTileBelow(layer, x, y)
Gets the tile below the tile coordinates given.
Mostly used as an internal function by calculateFaces.
Parameters
Name | Type | Description |
---|---|---|
layer | number | The local layer index to get the tile from. Can be determined by Tilemap.getLayer(). |
x | number | The x coordinate to get the tile from. In tiles, not pixels. |
y | number | The y coordinate to get the tile from. In tiles, not pixels. |
- Source code: tilemap/Tilemap.js (Line 1163)
Please login to continue.