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

# draggingFormation

The formation of the dragging items while the drag is over the destination.

```
@MainActor var draggingFormation: NSDraggingFormation { get set }
```

## Discussion

Set this property to change the formation of the drag items. This is generally done during the [`updateDraggingItemsForDrag(_:)`](/documentation/AppKit/NSDraggingDestination/updateDraggingItemsForDrag(_:)) method or whenever you enumerate the dragging items.

The default value is the current drag formation.

> Note:
> Set this property before or after the ``doc://com.apple.appkit/documentation/AppKit/NSDraggingInfo`` or ``doc://com.apple.appkit/documentation/AppKit/NSDraggingSession`` class’s method ``doc://com.apple.appkit/documentation/AppKit/NSDraggingInfo/enumerateDraggingItems(options:for:classes:searchOptions:using:)`` not inside the enumeration Block.

---

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)