# InsertCells

> Inserts cells into the Tilemap.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Tilemaps](/engine/6000.6/script-reference/unityengine/tilemaps.md)
* **Assembly:** UnityEngine.TilemapModule

## InsertCells(Vector3Int, Vector3Int)

Inserts cells into the [Tilemap](/engine/6000.6/script-reference/unityengine/tilemaps/tilemap.md).

```csharp
public void InsertCells(Vector3Int position, Vector3Int insertCells)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.6/script-reference/unityengine/vector3int)): The target position to insert at.**** (\[Vector3Int]\(/engine/6000.6/script-reference/unityengine/vector3int)): The number of columns, rows or layers of cells to insert.

## InsertCells(Vector3Int, int, int, int)

Inserts cells into the [Tilemap](/engine/6000.6/script-reference/unityengine/tilemaps/tilemap.md).

```csharp
public void InsertCells(Vector3Int position, int numColumns, int numRows, int numLayers)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.6/script-reference/unityengine/vector3int)): The target position to insert at.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The number of columns to insert.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The number of rows to insert.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The number of layers of cells to insert.
