---
title: textDragInteraction
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextdraggable/textdraginteraction
---

# textDragInteraction

The drag interaction object added by UIKit to the text view.

## Declaration

```swift
var textDragInteraction: UIDragInteraction? { get }
```

## Discussion

Discussion You can set the text drag interaction’s isEnabled property to false if you need to explicitly turn off drag interactions for a UIKit-provided text view.
