# GetObjectToInstantiate(Vector3Int)

> Gets the GameObject which will be instantiated by a Tile given the XYZ coordinates of a cell in the Tilemap.

## Definition

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

```csharp
public GameObject GetObjectToInstantiate(Vector3Int position)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.7/script-reference/unityengine/vector3int)): The position of the [Tile](/engine/6000.7/script-reference/unityengine/tilemaps/tile.md) on the [Tilemap](/engine/6000.7/script-reference/unityengine/tilemaps/tilemap.md).

### Returns

| Type                                                                    | Description                                                                                                                                                                                         |
| ----------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [GameObject](/engine/6000.7/script-reference/unityengine/gameobject.md) | Returns the [GameObject](/engine/6000.7/script-reference/unityengine/gameobject.md) to be instantiated by the [Tile](/engine/6000.7/script-reference/unityengine/tilemaps/tile.md) at the position. |

### Remarks

Refer to Scriptable Tiles and Tilemap for more information.
