---
title: hapticSharpness
framework: corehaptics
role: symbol
role_heading: Type Property
path: corehaptics/chhapticevent/parameterid/hapticsharpness
---

# hapticSharpness

The feel of a haptic event.

## Declaration

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

## Discussion

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:

To change the sharpness dynamically, use hapticSharpnessControl.

## See Also

### Haptic Event Parameter IDs

- [hapticIntensity](corehaptics/chhapticevent/parameterid/hapticintensity.md)
- [attackTime](corehaptics/chhapticevent/parameterid/attacktime.md)
- [decayTime](corehaptics/chhapticevent/parameterid/decaytime.md)
- [releaseTime](corehaptics/chhapticevent/parameterid/releasetime.md)
- [sustained](corehaptics/chhapticevent/parameterid/sustained.md)
