Checks if the given tile coordinates are within the bounds of the layer.
name | type | description |
---|---|---|
tileX | number |
The x coordinate, in tiles, not pixels. |
tileY | number |
The y coordinate, in tiles, not pixels. |
layer | Phaser.Tilemaps.LayerData |
The Tilemap Layer to act upon. |
true
if the tile coordinates are within the bounds of the layer, otherwise false
.