# DragAndDropData

> Data stored during drag-and-drop operations, enabling information to be carried throughout the process.

## Definition

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

```csharp
public abstract class DragAndDropData
```

## Properties

| Property                                                                                                                 | Description                                  |
| ------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------- |
| [paths](/engine/6000.0/script-reference/unityengine/uielements/draganddropdata/paths.md)                                 | A list of paths to the assets being dragged. |
| [source](/engine/6000.0/script-reference/unityengine/uielements/draganddropdata/source.md)                               | The object that started the drag.            |
| [unityObjectReferences](/engine/6000.0/script-reference/unityengine/uielements/draganddropdata/unityobjectreferences.md) | Unity Object references being dragged.       |
| [visualMode](/engine/6000.0/script-reference/unityengine/uielements/draganddropdata/visualmode.md)                       | The state of the current drag operation.     |

## Methods

| Method                                                                                                     | Description                                                    |
| ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [GetGenericData](/engine/6000.0/script-reference/unityengine/uielements/draganddropdata/getgenericdata.md) | Gets data associated with the current drag-and-drop operation. |
| [SetGenericData](/engine/6000.0/script-reference/unityengine/uielements/draganddropdata/setgenericdata.md) | Sets data associated with the current drag-and-drop operation. |
