Holds a pattern to be copied from or pasted into [LayeredTileMap]s. This resource holds a set of cells to help bulk manipulations of [LayeredTileMap]. A pattern always start at the [code](0,0)[/code] coordinates and cannot have cells with negative coordinates. Returns whether the pattern is empty or not. Returns the tile alternative ID of the cell at [param coords]. Returns the tile atlas coordinates ID of the cell at [param coords]. Returns the tile source ID of the cell at [param coords]. Returns the size, in cells, of the pattern. Returns the list of used cell coordinates in the pattern. Returns whether the pattern has a tile at the given coordinates. Remove the cell at the given coordinates. Sets the tile identifiers for the cell at coordinates [param coords]. See [method LayeredTileMap.set_cell]. Sets the size of the pattern.