---
title: selection
framework: webkit
role: symbol
role_heading: Type Property
path: webkit/webdragsourceaction/selection
---

# selection

Allows the user to drag a selection in the source object.

## Declaration

```swift
static var selection: WebDragSourceAction { get }
```

## See Also

### Constants

- [DHTML](webkit/webdragsourceaction/dhtml.md)
- [image](webkit/webdragsourceaction/image.md)
- [link](webkit/webdragsourceaction/link.md)
- [any](webkit/webdragsourceaction/any.md)
