---
title: "simultaneously(with:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/gesture/simultaneously(with:)"
---

# simultaneously(with:)

Combines a gesture with another gesture to create a new gesture that recognizes both gestures at the same time.

## Declaration

```swift
nonisolated func simultaneously<Other>(with other: Other) -> SimultaneousGesture<Self, Other> where Other : Gesture
```

## Parameters

- `other`: A gesture that you want to combine with your gesture to create a new, combined gesture.

## Return Value

Return Value A gesture with two simultaneous gestures.

## See Also

### Composing gestures

- [sequenced(before:)](swiftui/gesture/sequenced(before:).md)
- [exclusively(before:)](swiftui/gesture/exclusively(before:).md)
