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

# changeMode(with:)

Informs the responder that performed a double-tap on the side of an Apple Pencil.

## Declaration

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

## Parameters

- `event`: An object encapsulating information about the change-mode event.

## Discussion

Discussion The default implementation passes the event to the next responder.

## See Also

### Responding to Other Kinds of Events

- [cursorUpdate(with:)](appkit/nsresponder/cursorupdate(with:).md)
- [flagsChanged(with:)](appkit/nsresponder/flagschanged(with:).md)
- [tabletPoint(with:)](appkit/nsresponder/tabletpoint(with:).md)
- [tabletProximity(with:)](appkit/nsresponder/tabletproximity(with:).md)
- [helpRequested(_:)](appkit/nsresponder/helprequested(_:).md)
- [scrollWheel(with:)](appkit/nsresponder/scrollwheel(with:).md)
- [quickLook(with:)](appkit/nsresponder/quicklook(with:).md)
