---
title: draggingFormation
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsdraggingsession/draggingformation
---

# draggingFormation

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

## Declaration

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

## Discussion

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.

## See Also

### Dragging Visual Representation

- [animatesToStartingPositionsOnCancelOrFail](appkit/nsdraggingsession/animatestostartingpositionsoncancelorfail.md)
