# AddColumn(Vector2, int)

> Invoked when the table view need to add a new column at a specific location.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.5/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
void AddColumn(Vector2 mousePosition, int activeColumnIndex)
```

### Parameters

**** (\[Vector2]\(/engine/6000.5/script-reference/unityengine/vector2)): Mouse position when adding a new column happened.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Column index at which to insert the new column.

### Remarks

It is up to the implementation to open a column selector.
