<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/SimultaneousGesture",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI19SimultaneousGestureV"
  },
  "title" : "SimultaneousGesture"
}
-->

# SimultaneousGesture

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

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

## 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(_:_:)`](/documentation/SwiftUI/SimultaneousGesture/init(_:_:))

Creates a gesture with two gestures that can receive updates or succeed
independently of each other.

[`first`](/documentation/SwiftUI/SimultaneousGesture/first)

The first of two gestures that can happen simultaneously.

[`second`](/documentation/SwiftUI/SimultaneousGesture/second)

The second of two gestures that can happen simultaneously.

### Getting the gesture’s values

[`SimultaneousGesture.Value`](/documentation/SwiftUI/SimultaneousGesture/Value)

The value of a simultaneous gesture that indicates which of its two
gestures receives events.



---

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)