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

# draggingFrame

The frame of the dragging item.

```
var draggingFrame: NSRect { get set }
```

## Discussion

The dragging frame provides the spatial relationship between [`NSDraggingItem`](/documentation/AppKit/NSDraggingItem) instances when you set the dragging formation to [`NSDraggingFormation.none`](/documentation/AppKit/NSDraggingFormation/none).

The exact coordinate space of this rectangle depends on where you use it. Examples are the view that initiates the drag using [`beginDraggingSession(with:event:source:)`](/documentation/AppKit/NSView/beginDraggingSession(with:event:source:)) or the view you pass to the [`NSDraggingSession`](/documentation/AppKit/NSDraggingSession) implementation of [`enumerateDraggingItems(options:for:classes:searchOptions:using:)`](/documentation/AppKit/NSDraggingSession/enumerateDraggingItems(options:for:classes:searchOptions:using:)).

---

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)