# HandleDragAndDropArgs

> Information about a drag-and-drop operation in progress. See _dragAndDropUpdate and _handleDrop.

## Definition

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

```csharp
public readonly struct HandleDragAndDropArgs
```

## Properties

| Property                                                                                                           | Description                                                                                                                                                                                     |
| ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [childIndex](/engine/6000.5/script-reference/unityengine/uielements/handledraganddropargs/childindex.md)           | The child index under the [\_parentId](/engine/6000.5/script-reference/unityengine/uielements/handledraganddropargs/parentid.md) that the drag-and-drop operation targets. Used only for trees. |
| [dragAndDropData](/engine/6000.5/script-reference/unityengine/uielements/handledraganddropargs/draganddropdata.md) | Data stored for the drag-and-drop operation.                                                                                                                                                    |
| [dropPosition](/engine/6000.5/script-reference/unityengine/uielements/handledraganddropargs/dropposition.md)       | The type of drop position.                                                                                                                                                                      |
| [insertAtIndex](/engine/6000.5/script-reference/unityengine/uielements/handledraganddropargs/insertatindex.md)     | The index at which the drop operation wants to happen.                                                                                                                                          |
| [parentId](/engine/6000.5/script-reference/unityengine/uielements/handledraganddropargs/parentid.md)               | The new parent targeted by the drag-and-drop operation. Used only for trees.                                                                                                                    |
| [position](/engine/6000.5/script-reference/unityengine/uielements/handledraganddropargs/position.md)               | The world position of the pointer.                                                                                                                                                              |
| [target](/engine/6000.5/script-reference/unityengine/uielements/handledraganddropargs/target.md)                   | The target of the drop. There is only a target when hovering over an item. OverItem                                                                                                             |
