API Reference › Tiled › Tiled.cell_y
method

Tiled.cell_y

Tiled.cell_y(map, x: int, y: int) -> int

Returns the screen y of tile cell (x,y): orthogonal y·tileh, isometric (x+y)·tileh/2, staggered y·tileh/2, hexagonal rows stepping by (tileh+hexsidelength)/2.

← All symbols