<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSDraggingDestination/wantsPeriodicDraggingUpdates()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSDraggingDestination(im)wantsPeriodicDraggingUpdates"
  },
  "title" : "wantsPeriodicDraggingUpdates()"
}
-->

# wantsPeriodicDraggingUpdates()

Asks the destination object whether it wants to receive periodic [`draggingUpdated(_:)`](/documentation/AppKit/NSDraggingDestination/draggingUpdated(_:)) messages.

```
@MainActor optional func wantsPeriodicDraggingUpdates() -> Bool
```

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the destination wants to receive periodic [`draggingUpdated(_:)`](/documentation/AppKit/NSDraggingDestination/draggingUpdated(_:)) messages, <doc://com.apple.documentation/documentation/Swift/false> otherwise.

## Discussion

If the destination returns <doc://com.apple.documentation/documentation/Swift/false>, these messages are sent only when the mouse moves or a modifier flag changes. Otherwise the destination gets the default behavior, where it receives periodic dragging-updated messages even if nothing changes.

---

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)