getTileY(y) → {integer}
Convert a pixel value to a tile coordinate.
Parameters
Name | Type | Description |
---|---|---|
y | number | Y position of the point in target tile (in pixels). |
Returns
integer -
The Y map location of the tile.
- Source code: tilemap/TilemapLayer.js (Line 517)
Please login to continue.