---
title: activeWhenFirstResponder
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nstrackingarea/options-swift.struct/activewhenfirstresponder
---

# activeWhenFirstResponder

The owner receives messages when the view is the first responder. This value specifies when the tracking area defined by an NSTrackingArea object is active.

## Declaration

```swift
static var activeWhenFirstResponder: NSTrackingArea.Options { get }
```

## See Also

### Constants

- [mouseEnteredAndExited](appkit/nstrackingarea/options-swift.struct/mouseenteredandexited.md)
- [mouseMoved](appkit/nstrackingarea/options-swift.struct/mousemoved.md)
- [cursorUpdate](appkit/nstrackingarea/options-swift.struct/cursorupdate.md)
- [activeInKeyWindow](appkit/nstrackingarea/options-swift.struct/activeinkeywindow.md)
- [activeInActiveApp](appkit/nstrackingarea/options-swift.struct/activeinactiveapp.md)
- [activeAlways](appkit/nstrackingarea/options-swift.struct/activealways.md)
- [assumeInside](appkit/nstrackingarea/options-swift.struct/assumeinside.md)
- [inVisibleRect](appkit/nstrackingarea/options-swift.struct/invisiblerect.md)
- [enabledDuringMouseDrag](appkit/nstrackingarea/options-swift.struct/enabledduringmousedrag.md)
