# HierarchyViewDragAndDropSetupData

> Contains the data needed to start a drag and drop operation.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.Hierarchy](/engine/6000.7/script-reference/unity/hierarchy.md)
* **Assembly:** UnityEngine.HierarchyModule

```csharp
public readonly ref struct HierarchyViewDragAndDropSetupData
```

## Properties

| Property                                                                                                    | Description                                                                                                                                                                                                                                     |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [EntityIds](/engine/6000.7/script-reference/unity/hierarchy/hierarchyviewdraganddropsetupdata/entityids.md) | Gets the [Object](/engine/6000.7/script-reference/unityengine/object.md) references that are dragged. [HierarchyNodeTypeHandler](/engine/6000.7/script-reference/unity/hierarchy/hierarchynodetypehandler.md) instances can populate this list. |
| [Nodes](/engine/6000.7/script-reference/unity/hierarchy/hierarchyviewdraganddropsetupdata/nodes.md)         | Gets the [HierarchyNode](/engine/6000.7/script-reference/unity/hierarchy/hierarchynode.md) instances involved in the drag and drop operation. Only nodes for the current handler are included.                                                  |
| [Paths](/engine/6000.7/script-reference/unity/hierarchy/hierarchyviewdraganddropsetupdata/paths.md)         | Gets the paths of assets involved in the drag and drop operation. [HierarchyNodeTypeHandler](/engine/6000.7/script-reference/unity/hierarchy/hierarchynodetypehandler.md) instances can populate this list.                                     |
| [View](/engine/6000.7/script-reference/unity/hierarchy/hierarchyviewdraganddropsetupdata/view.md)           | Gets the [HierarchyView](/engine/6000.7/script-reference/unity/hierarchy/hierarchyview.md) where the drag and drop operation occurs.                                                                                                            |

## Methods

| Method                                                                                                                | Description                                        |
| --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| [SetGenericData](/engine/6000.7/script-reference/unity/hierarchy/hierarchyviewdraganddropsetupdata/setgenericdata.md) | Sets generic data for the drag and drop operation. |
