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 starts at the [code](0, 0)[/code] coordinates and cannot have cells with negative coordinates.
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.
Returns whether the pattern is empty or not.
Remove the cell at the given coordinates.
Sets the tile identifiers for the cell at coordinates [param coords]. See [method TileMap.set_cell].
Sets the size of the pattern.