---
title: pressureConfiguration
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsgesturerecognizer/pressureconfiguration
---

# pressureConfiguration

Configures the behavior and progression of the Force Touch trackpad when responding to recognized pressure gestures.

## Declaration

```swift
var pressureConfiguration: NSPressureConfiguration { get set }
```

## Discussion

Discussion This property contains a value of type NSPressureConfiguration, which configures the behavior and progression of the Force Touch trackpad when responding to recognized pressure gestures. Ideally, you should avoid changing the pressure configuration during recognition, as the gesture may complete before the configuration has time to take effect. If you do need to change the pressure configuration during recognition, call the set() method of pressureConfiguration. Once the gesture ends or if recognition fails, the pressure configuration resets to the current view’s pressure configuration, if any, for the remaining duration of the gesture.

## See Also

### Related Documentation

- [NSPressureConfiguration](appkit/nspressureconfiguration.md)
- [NSEvent.PressureBehavior](appkit/nsevent/pressurebehavior-swift.enum.md)
- [set()](appkit/nspressureconfiguration/set().md)
- [init(pressureBehavior:)](appkit/nspressureconfiguration/init(pressurebehavior:).md)
