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

# draggingFormation

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

## Declaration

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

## Discussion

Discussion Set this property to change the formation of the drag items. This is generally done during the 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 NSDraggingInfo or NSDraggingSession class’s method enumerateDraggingItems(options:for:classes:searchOptions:using:) not inside the enumeration Block.

## See Also

### Sliding the image

- [slideDraggedImage(to:)](appkit/nsdragginginfo/slidedraggedimage(to:).md)
- [animatesToDestination](appkit/nsdragginginfo/animatestodestination.md)
