# Insert<T>(ref T[], int, T)

> Inserts item item at position index.

## Definition

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

## Insert\<T>(\`\<>\[], int, T)

```csharp
public static void Insert<T>(ref T[] array, int index, T item)
```

### Parameters

**** (\[\<T>\[]]\(./)): **** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): **** (T):&#x20;
