# EditorPreviewFloodFill(Vector3Int, TileBase)

> Does an editor preview of a flood fill with the given Tile to place. on the Tilemap starting from the given coordinates.

## Definition

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

```csharp
public void EditorPreviewFloodFill(Vector3Int position, TileBase tile)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.5/script-reference/unityengine/vector3int)): Start position of the flood fill on the [Tilemap](/engine/6000.5/script-reference/unityengine/tilemaps/tilemap.md).**** (\[TileBase]\(/engine/6000.5/script-reference/unityengine/tilemaps/tilebase)): [TileBase](/engine/6000.5/script-reference/unityengine/tilemaps/tilebase.md) to place.

### Remarks

The editor preview is used for previewing possible additions to the [Tilemap](/engine/6000.5/script-reference/unityengine/tilemaps/tilemap.md). Refer to Scriptable Tiles and Tilemap for more information.
