# Pick(GridLayout, GameObject, BoundsInt, Vector3Int)

> Picks data from a grid given the coordinates of the cells.

## Definition

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

```csharp
public virtual void Pick(GridLayout gridLayout, GameObject brushTarget, BoundsInt position, Vector3Int pivot)
```

### Parameters

**** (\[GridLayout]\(/engine/6000.7/script-reference/unityengine/gridlayout)): [Grid](/engine/6000.7/script-reference/unityengine/grid.md) used for layout.**** (\[GameObject]\(/engine/6000.7/script-reference/unityengine/gameobject)): Target of the paint operation. By default the currently selected GameObject.**** (\[BoundsInt]\(/engine/6000.7/script-reference/unityengine/boundsint)): The coordinates of the cells to paint data from.**** (\[Vector3Int]\(/engine/6000.7/script-reference/unityengine/vector3int)): Pivot of the picking brush.
