# RemoveAt(int)

> Removes the element at an index. Shifts everything above the index down by one and decrements the length by 1.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public void RemoveAt(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The index of the element to remove.

### Remarks

If you don't care about preserving the order of the elements, `RemoveAtSwapBack` is a more efficient way to remove an element.
