<!--
{
  "availability" : [
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/DragConfiguration/init(allowMove:allowDelete:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17DragConfigurationV9allowMove0E6DeleteACSb_Sbtcfc"
  },
  "title" : "init(allowMove:allowDelete:)"
}
-->

# init(allowMove:allowDelete:)

Creates a drag configuration that can support drag-to-move and
drag-to-delete in addition to drag-to-copy.

```
init(allowMove: Bool, allowDelete: Bool)
```

---

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)