---
title: draggingSource
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsdragginginfo/draggingsource
---

# draggingSource

The source, or owner, of the dragged data.

## Declaration

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

## Discussion

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.

## See Also

### Obtaining information about the dragging session

- [draggingPasteboard](appkit/nsdragginginfo/draggingpasteboard.md)
- [draggingSequenceNumber](appkit/nsdragginginfo/draggingsequencenumber.md)
- [draggingSourceOperationMask](appkit/nsdragginginfo/draggingsourceoperationmask.md)
- [draggingLocation](appkit/nsdragginginfo/dragginglocation.md)
- [draggingDestinationWindow](appkit/nsdragginginfo/draggingdestinationwindow.md)
- [numberOfValidItemsForDrop](appkit/nsdragginginfo/numberofvaliditemsfordrop.md)
- [namesOfPromisedFilesDropped(atDestination:)](appkit/nsdragginginfo/namesofpromisedfilesdropped(atdestination:).md)
