<!--
{
  "availability" : [
    "macOS: 10.10.3 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSResponder/pressureChange(with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSResponder(im)pressureChangeWithEvent:"
  },
  "title" : "pressureChange(with:)"
}
-->

# pressureChange(with:)

Indicates a pressure change as the result of a user input event on a system that supports pressure sensitivity.

```
func pressureChange(with event: NSEvent)
```

## Parameters

`event`

An `NSEvent` object encapsulating information about the event that invoked the change in pressure.

## Discussion

This method is invoked automatically in response to user actions. `event` is the event that initiated the change in pressure.

## See Also

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

An object that contains information about an input action, such as a mouse click or a key press.



---

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)