Layer.TilemapElement.setTileInCell() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
location |
{Vector2} |
No |
tiledata? |
{Layer.TilemapElement.TileData|int:tiledata} |
Yes |
{bool}
Set the Tile at the specified cell to a Tile referred to by the specified Tile Data and return a boolean for confirmation whether the operation was a success or not. If Tile Data is not provided or 0 is provided in its place, the cell will be cleared.