---
title: SimultaneousGesture
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/simultaneousgesture
---

# SimultaneousGesture

A gesture containing two gestures that can happen at the same time with neither of them preceding the other.

## Declaration

```swift
@frozen nonisolated struct SimultaneousGesture<First, Second> where First : Gesture, Second : Gesture
```

## Overview

Overview A simultaneous gesture is a container-event handler that evaluates its two child gestures at the same time. Its value is a struct with two optional values, each representing the phases of one of the two gestures.

## Topics

### Creating the gesture

- [init(_:_:)](swiftui/simultaneousgesture/init(_:_:).md)
- [first](swiftui/simultaneousgesture/first.md)
- [second](swiftui/simultaneousgesture/second.md)

### Getting the gesture’s values

- [SimultaneousGesture.Value](swiftui/simultaneousgesture/value.md)

## Relationships

### Conforms To

- [Gesture](swiftui/gesture.md)

## See Also

### Combining gestures

- [Composing SwiftUI gestures](swiftui/composing-swiftui-gestures.md)
- [simultaneousGesture(_:including:)](swiftui/view/simultaneousgesture(_:including:).md)
- [simultaneousGesture(_:isEnabled:)](swiftui/view/simultaneousgesture(_:isenabled:).md)
- [simultaneousGesture(_:name:isEnabled:)](swiftui/view/simultaneousgesture(_:name:isenabled:).md)
- [SequenceGesture](swiftui/sequencegesture.md)
- [ExclusiveGesture](swiftui/exclusivegesture.md)
