<!--
{
  "availability" : [
    "macOS: 10.11.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSEvent/pressureBehavior-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSEvent(py)pressureBehavior"
  },
  "title" : "pressureBehavior"
}
-->

# pressureBehavior

The behavior and progression for a pressure event.

```
var pressureBehavior: NSEvent.PressureBehavior { get }
```

## Discussion

This property describes the behavior and progression of an event of type [`NSEvent.EventType.pressure`](/documentation/AppKit/NSEvent/EventType/pressure). The value of this property indicates how the pressure event behaves, including actuations, pressure-level reporting, and stage transitions.

## See Also

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

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

[`EventType`](/documentation/AppKit/NSEvent/EventType)

Constants for the types of events that responder objects can handle.

[`NSEventTypePressure`](/documentation/AppKit/NSEvent/EventType/pressure)

An event that reports a change in pressure on a pressure-sensitive device.

[`-  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)