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

# draggingFormation

Controls the dragging formation when the drag is not over the source or a valid destination.

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

## Discussion

Setting this value causes the dragging formation to change immediately, provided a valid destination has not overriden the behavior. If the dragging session hasn’t started yet, the dragging items will animate into formation immediately upon start. It is *highly* recommended to never change the formation when starting a drag.

The default value is [`NSDraggingFormation.none`](/documentation/AppKit/NSDraggingFormation/none).

---

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)