---
title: "pressureChange(with:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsresponder/pressurechange(with:)"
---

# pressureChange(with:)

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

## Declaration

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

## Parameters

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

## Discussion

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

## See Also

### Related Documentation

- [NSEvent](appkit/nsevent.md)
