# dragAndDropPosition

> When dragging items the current drag can have the following 3 positions relative to the items: Upon an item, Between two items or Outside items.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor.IMGUI.Controls](/engine/6000.3/script-reference/unityeditor/imgui/controls.md)
* **Assembly:** UnityEditor

```csharp
public TreeView<int>.DragAndDropPosition dragAndDropPosition
```

### Remarks

Use these enum values to determine if the drag is allowed and how it should be handled when dropped.

Additional Resources: ::performDrop.
