<!--
{
  "availability" : [
    "macOS: 10.3.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebDragSourceAction/selection",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:@E@WebDragSourceAction@WebDragSourceActionSelection"
  },
  "title" : "selection"
}
-->

# selection

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

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)