phaser - v4.0.0-rc.4
    Preparing search index...
    • Checks if the given tile coordinates are within the bounds of the layer.

      Parameters

      • tileX: number

        The x coordinate, in tiles, not pixels.

      • tileY: number

        The y coordinate, in tiles, not pixels.

      • layer: LayerData

        The Tilemap Layer to act upon.

      Returns boolean