# Move(int, int)

> Moves an item in the source.

## Definition

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

```csharp
public virtual void Move(int index, int newIndex)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The source index.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The destination index.
