Holds a pattern to be copied from or pasted into [TileMap]s. This resource holds a set of cells to help bulk manipulations of [TileMap]. A pattern always start at the [code](0,0)[/code] coordinates and cannot have cells with negative coordinates. Returns the tile alternative ID of the cell at [code]coords[/code]. Returns the tile atlas coordinates ID of the cell at [code]coords[/code]. Returns the tile source ID of the cell at [code]coords[/code]. 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. Returns whether the pattern is empty or not. Remove the cell at the given coordinates. Sets the tile indentifiers for the cell at coordinates [code]coords[/code]. See [method TileMap.set_cell]. Sets the size of the pattern.