---
title: "manipulable(using:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/manipulable(using:)"
---

# manipulable(using:)

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

## Declaration

```swift
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

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

## Discussion

Discussion Use this view modifier alongside 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)         }     } } note: manipulationGesture(updating:coordinateSpace:operations:inertia:isEnabled:onChanged:)

## See Also

### Hand interactions

- [handGestureShortcut(_:isEnabled:)](swiftui/view/handgestureshortcut(_:isenabled:).md)
- [handPointerBehavior(_:)](swiftui/view/handpointerbehavior(_:).md)
- [manipulable(coordinateSpace:operations:inertia:isEnabled:onChanged:)](swiftui/view/manipulable(coordinatespace:operations:inertia:isenabled:onchanged:).md)
- [manipulable(transform:coordinateSpace:operations:inertia:isEnabled:onChanged:)](swiftui/view/manipulable(transform:coordinatespace:operations:inertia:isenabled:onchanged:).md)
- [manipulationGesture(updating:coordinateSpace:operations:inertia:isEnabled:onChanged:)](swiftui/view/manipulationgesture(updating:coordinatespace:operations:inertia:isenabled:onchanged:).md)
