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

# pressureConfiguration

Configures the behavior and progression of the Force Touch trackpad when responding to touch input produced by the user when the cursor is over the view.

## Declaration

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

## Discussion

Discussion This property configures the behavior and progression of the Force Touch trackpad when responding to touch input produced by the user when the cursor is over the view. Changing the value of this property does not affect a pressure event that’s already active. This property must be set prior to a mouse-down event, for use with future pressure gestures.

## See Also

### Related Documentation

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