# EditorPreviewBoxFill(Vector3Int, Object, int, int, int, int)

> Does an editor preview of a box fill with the given Tile on the Tilemap. Starts from given coordinates and fills the limits from start to end (inclusive).

## Definition

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

```csharp
public void EditorPreviewBoxFill(Vector3Int position, Object tile, int startX, int startY, int endX, int endY)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.0/script-reference/unityengine/vector3int)): Position of the [Tile](/engine/6000.0/script-reference/unityengine/wsa/tile.md) on the [Tilemap](/engine/6000.0/script-reference/unityengine/tilemaps/tilemap.md).**** (\[Object]\(/engine/6000.0/script-reference/unityengine/object)): [Tile](/engine/6000.0/script-reference/unityengine/wsa/tile.md) to place.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The start X coordinate limit to fill to.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The start Y coordinate limit to fill to.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The ending X coordinate limit to fill to.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The ending Y coordinate limit to fill to.

### Remarks

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