<!--
{
  "availability" : [
    "macOS: 10.12.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTouch/TouchType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSTouchType"
  },
  "title" : "NSTouch.TouchType"
}
-->

# NSTouch.TouchType

A bit mask identifying a direct or indirect touch type.

```
enum TouchType
```

## Topics

### Touch Types

[`NSTouchTypeDirect`](/documentation/AppKit/NSTouch/TouchType/direct)

A direct touch from a user’s finger on a screen.

[`NSTouchTypeIndirect`](/documentation/AppKit/NSTouch/TouchType/indirect)

An indirect touch that is not on a screen, like a digitizer touch.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)