# SetupDragAndDropArgs

> Information about a drag-and-drop operation that just started. You can use it to store generic data for the rest of the drag. See _setupDragAndDrop.

## Definition

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

```csharp
public readonly struct SetupDragAndDropArgs
```

## Fields

| Value                                                                                                           | Description                                                                             |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [draggedElement](/engine/6000.7/script-reference/unityengine/uielements/setupdraganddropargs/draggedelement.md) | The element on which the drag operation started.                                        |
| [selectedIds](/engine/6000.7/script-reference/unityengine/uielements/setupdraganddropargs/selectedids.md)       | The selected IDs in the source.                                                         |
| [startDragArgs](/engine/6000.7/script-reference/unityengine/uielements/setupdraganddropargs/startdragargs.md)   | Provides entry points to initialize data and visual of the new drag-and-drop operation. |
