the layer, as LDtk saves it
the layer's values, from its definition
where the layer's top left corner is
where the layer's top left corner is
Readonlycellthe size of a cell, in pixels
Readonlycolorsthe color given to each value in LDtk, as #rrggbb
Readonlycolsthe grid's width, in cells
Readonlynamethe layer's identifier in LDtk
Readonlynamesthe name given to each value in LDtk, for the values that have one
Readonlyrowsthe grid's height, in cells
Readonlyvaluesthe values, row by row
Readonlyxwhere the grid's top left corner is, in the container the level was added to
Readonlyywhere the grid's top left corner is, in the container the level was added to
the name of a cell's value, as given in LDtk
the cell's column
the cell's row
the name, or undefined for an empty cell or a value with no name
Cover the cells holding the values asked for with few rectangles, each of one value: a wall of a thousand cells is one rectangle.
true for a value to cover; by default every value but 0
the rectangles, in pixels of the container the level was added to
the value of a cell
the cell's column
the cell's row
its value; 0 for an empty cell and outside the grid
the value at a point of the container the level was added to
the point
the point
the value of the cell there; 0 for an empty cell and outside the grid
The values of an IntGrid layer of a level: a whole number per cell, 0 for an empty one, as painted in LDtk. What a game reads its walls, ladders, water and spawn areas from.