# ClearAllTiles()

> Clears all Tile s that are placed in the Tilemap.

## Definition

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

```csharp
public void ClearAllTiles()
```

### Remarks

This will also resize the [Tilemap](/engine/6000.0/script-reference/unityengine/tilemaps/tilemap.md) to its default values.

In the Editor, this will also clear all editor preview [Tile](/engine/6000.0/script-reference/unityengine/wsa/tile.md)s.
