<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreHaptics",
  "identifier" : "/documentation/CoreHaptics/CHHapticEvent/ParameterID/hapticSharpness",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Core Haptics",
      "CoreHaptics"
    ],
    "preciseIdentifier" : "c:@CHHapticEventParameterIDHapticSharpness"
  },
  "title" : "hapticSharpness"
}
-->

# hapticSharpness

The feel of a haptic event.

```
static let hapticSharpness: CHHapticEvent.ParameterID
```

## Discussion

Specify a pattern’s sharpness by setting this value from 0.0 to 1.0. Haptic patterns with low sharpness have a round and organic feel, whereas haptic patterns with high sharpness feel more crisp and precise. The diagram below depicts sharpness of haptic events as a single line to indicate the sensation of persistent feedback against the user’s hand:

![A diagram showing sharpness of three transient haptic events on the left, and sharpness of three continuous haptic events on the right.](images/com.apple.corehaptics/media-3242668@2x.png)

To change the sharpness dynamically, use [`hapticSharpnessControl`](/documentation/CoreHaptics/CHHapticDynamicParameter/ID/hapticSharpnessControl).

---

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)