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

# animatesToDestination

A Boolean value that indicates whether the dragging formation animates while the drag is over the destination.

```
@MainActor var animatesToDestination: Bool { get set }
```

## Discussion

During the conclusion of an accepted drag, if this property is set to <doc://com.apple.documentation/documentation/Swift/true>, the drag manager will animate each dragging image to their [`NSDraggingFormation.none`](/documentation/AppKit/NSDraggingFormation/none) locations. Otherwise, the drag images are removed without any animation.

This property is inspected between prepareForDragOperation: and performDragOperation:. You should enumerate through the dragging items during performDragOperation: to set the item’s [`draggingFrame`](/documentation/AppKit/NSDraggingItem/draggingFrame) to the correct destinations.

---

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)