---
id: tiled-cell_x
name: Tiled.cell_x
category: tiled
kind: namespace-method
tokens: Tiled.cell_x
sig: Tiled.cell_x(map, x: int, y: int) -> int
tip: The screen x of a tile cell for the map orientation.
order: 30
ns: Tiled
member: cell_x
---
Returns the screen x (before the camera) of tile cell (x,y) under the map's orientation: orthogonal x·tilew, isometric (x−y)·tilew/2, staggered/hexagonal x·tilew with alternate rows shoved half a tile per staggerindex.