<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSDraggingInfo/draggingSource",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSDraggingInfo(py)draggingSource"
  },
  "title" : "draggingSource"
}
-->

# draggingSource

The source, or owner, of the dragged data.

```
@MainActor var draggingSource: Any? { get }
```

## Discussion

This method returns `nil` if the source is not in the same application as the destination. The dragging source implements methods from the NSDraggingSource protocol.

---

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)