---
title: wantsPeriodicDraggingUpdates()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsdraggingdestination/wantsperiodicdraggingupdates()
---

# wantsPeriodicDraggingUpdates()

Asks the destination object whether it wants to receive periodic draggingUpdated(_:) messages.

## Declaration

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

## Return Value

Return Value true if the destination wants to receive periodic draggingUpdated(_:) messages, false otherwise.

## Discussion

Discussion If the destination returns 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.

## See Also

### Managing a Dragging Session Before an Image Is Released

- [draggingEntered(_:)](appkit/nsdraggingdestination/draggingentered(_:).md)
- [draggingUpdated(_:)](appkit/nsdraggingdestination/draggingupdated(_:).md)
- [draggingExited(_:)](appkit/nsdraggingdestination/draggingexited(_:).md)
- [draggingEnded(_:)](appkit/nsdraggingdestination/draggingended(_:).md)
