Click or drag to resize
LayerBaseGetTile Method
Retrieves information about the tile at the specified tile coordinate

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public abstract TileBase GetTile(
	int x,
	int y
)

Parameters

x
Type: SystemInt32
Horizontal tile coordinate of the tile to retrieve
y
Type: SystemInt32
Vertical tile coordinate of the tile to retrieve

Return Value

Type: TileBase
Object describing the tile at the specified position in the layer.
Remarks
If the coordinate is beyond the edge of the layer's data, it wraps to the other side of the layer in order to support layers whose virtual size is larger than the data size.
See Also