<!--
{
  "availability" : [
    "macOS: 10.11.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSView/pressureConfiguration",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSView(py)pressureConfiguration"
  },
  "title" : "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.

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

## 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

[`NSPressureConfiguration`](/documentation/AppKit/NSPressureConfiguration)

An encapsulation of the behavior and progression of a Force Touch trackpad as it responds to specific events.

[`PressureBehavior`](/documentation/AppKit/NSEvent/PressureBehavior-swift.enum)

These constants describe the behavior and progression of a pressure gesture.

[`-  initWithPressureBehavior:`](/documentation/AppKit/NSPressureConfiguration/init(pressureBehavior:))

Initializes a pressure configuration object with a specified pressure behavior.



---

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)