TileLocation

Object that represents a position of a tile, relative or not.

Constructors

TileLocation(number X, number Y, number Layer, bool RelativePosition)

Properties

number XX position of the tile
number YY position of the tile
number LayerLayer on which the tile is located
bool RelativePositionWhether relative positioning is used

Examples

local tileLoc = TileLocation(2, 2, 0, false);