---
title: "helpRequested(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsresponder/helprequested(_:)"
---

# helpRequested(_:)

Displays context-sensitive help for the receiver if help has been registered.

## Declaration

```swift
func helpRequested(_ eventPtr: NSEvent)
```

## Parameters

- `eventPtr`: An object encapsulating information about the help-request event.

## Discussion

Discussion NSWindow invokes this method automatically when the user clicks for help and help has been registered using setContextHelp(_:for:). Otherwise, NSWindow passes the message to the next responder. Subclasses are not required to override this method. note: Current hardware does not invoke this method and application code should not call it directly. To provide context-sensitive help, use help tags (tooltips). For more information, see macOS Human Interface Guidelines - Help Tags (Tooltips).

## See Also

### Related Documentation

- [showContextHelp(_:)](appkit/nsresponder/showcontexthelp(_:).md)

### 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)
- [scrollWheel(with:)](appkit/nsresponder/scrollwheel(with:).md)
- [quickLook(with:)](appkit/nsresponder/quicklook(with:).md)
- [changeMode(with:)](appkit/nsresponder/changemode(with:).md)
