# DragAndDropData

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

## Definition

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

```csharp
public abstract class DragAndDropData
```

## Properties

| Property                                                                                           | Description                                  |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------- |
| [entityIds](/engine/6000.7/script-reference/unityengine/uielements/draganddropdata/entityids.md)   | Entity Ids being dragged.                    |
| [paths](/engine/6000.7/script-reference/unityengine/uielements/draganddropdata/paths.md)           | A list of paths to the assets being dragged. |
| [source](/engine/6000.7/script-reference/unityengine/uielements/draganddropdata/source.md)         | The object that started the drag.            |
| [visualMode](/engine/6000.7/script-reference/unityengine/uielements/draganddropdata/visualmode.md) | The state of the current drag operation.     |

## Methods

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