<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/manipulable(coordinateSpace:operations:inertia:isEnabled:onChanged:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewPAAE11manipulable15coordinateSpace10operations7inertia9isEnabled9onChangedQrqd___AA11ManipulableO9OperationV3SetVAK7InertiaVSbyAK5EventVcSgtAA010CoordinateF8ProtocolRd__lF"
  },
  "title" : "manipulable(coordinateSpace:operations:inertia:isEnabled:onChanged:)"
}
-->

# manipulable(coordinateSpace:operations:inertia:isEnabled:onChanged:)

Allows this view to be manipulated using common hand gestures.

```
@export(implementation) nonisolated func manipulable(coordinateSpace: some CoordinateSpaceProtocol = .local, operations: Manipulable.Operation.Set = .all, inertia: Manipulable.Inertia = .medium, isEnabled: Bool = true, onChanged: ((Manipulable.Event) -> Void)? = nil) -> some View
```

## Parameters

`coordinateSpace`

The coordinate space of the manipulation gesture
event locations.

`operations`

The set of allowed operations that can be applied when
a person manipulates this view.

`inertia`

The inertia of this view that defines how much it resists
being manipulated.

`isEnabled`

The Boolean value that indicates whether the manipulation
gesture added by this view modifier is enabled or not.

`onChanged`

The action to perform with each new manipulation gesture
event.

## Return Value

A view that can be manipulated using common hand gestures.

## Discussion

When a person ends the manipulation gesture, the view will return to its
initial transform from before the gesture began.

```
Model3D(named: "ToyRocket")
    .manipulable()
```

---

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)