Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 424 Bytes

File metadata and controls

26 lines (17 loc) · 424 Bytes

Grid

This is an object that defines the grid for a tileset.

Grid()

Grid()
Grid(otherGrid)

Grid.tileSize

local tileSize = grid.tileSize

Returns the tile width and height of a tileset, as a size.

Grid.origin

local point = grid.origin

Returns the origin of the grid as a point.