<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/GestureInputKinds/directTouch",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17GestureInputKindsV11directTouchACvpZ"
  },
  "title" : "directTouch"
}
-->

# directTouch

A person is touching content directly.

```
static let directTouch: GestureInputKinds
```

## Discussion

Examples:

- touching a screen directly with fingers,
- directly touching or pinching content in visionOS.

> Note: In visionOS, you can further customize what hand motions your
> gesture recognizes using ``doc://com.apple.SwiftUI/documentation/SwiftUI/Gesture/handActivationBehavior(_:)``.

---

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)