<!--
{
  "availability" : [
    "macOS: 10.10.3 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPressureConfiguration",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPressureConfiguration"
  },
  "title" : "NSPressureConfiguration"
}
-->

# NSPressureConfiguration

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

```
class NSPressureConfiguration
```

## Overview

Use an [`NSPressureConfiguration`](/documentation/AppKit/NSPressureConfiguration) object to configure the behavior and progression of a Force Touch trackpad when it responds to a mouse drag or pressure event sequence. Pressure configurations are assigned to views ([`NSView`](/documentation/AppKit/NSView)) and gesture recognizers ([`NSGestureRecognizer`](/documentation/AppKit/NSGestureRecognizer)).

## Topics

### Creating a Pressure Configuration Object

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

Initializes a pressure configuration object with a specified pressure behavior.

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

Changes the pressure configuration of the trackpad to the initialized pressure configuration.

### Accessing Pressure Configuration Object Properties

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

The pressure behavior of the pressure configuration object.



---

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)