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

# manipulable(using:)

Allows the view to be manipulated using a manipulation gesture attached
to a different view.

```
@export(implementation) nonisolated func manipulable(using gestureState: Manipulable.GestureState) -> some View
```

## Parameters

`gestureState`

The manipulation gesture state that’s updated by a
manipulation gesture added to a different view.

## Return Value

A view that can be manipulated by a manipulation gesture
attached to a different view.

## Discussion

Use this view modifier alongside [`manipulationGesture(updating:coordinateSpace:operations:inertia:isEnabled:onChanged:)`](/documentation/SwiftUI/View/manipulationGesture(updating:coordinateSpace:operations:inertia:isEnabled:onChanged:))
when you want to allow a person to manipulate a view by interacting with
a different view.

In the following example, a person can begin a manipulation gesture
attached to a deck of cards which, in turn, manipulates a single card
instead of the entire deck:

```
struct CardDeck: View {
    @State private var manipulationState = Manipulable.GestureState()

    var body: some View {
        ZStack {
            Model3D(named: "CardDeck")
                .manipulationGesture(updating: $manipulationState)
            Model3D(named: "Card")
                .manipulable(using: manipulationState)
                .opacity(manipulationState.isActive ? 1 : 0)
        }
    }
}
```

> SeeAlso: ``doc://com.apple.SwiftUI/documentation/SwiftUI/View/manipulationGesture(updating:coordinateSpace:operations:inertia:isEnabled:onChanged:)``

---

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)