<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextInsertionIndicator/AutomaticModeOptions-swift.struct/showWhileTracking",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSTextInsertionIndicatorAutomaticModeOptions@NSTextInsertionIndicatorAutomaticModeOptionsShowWhileTracking"
  },
  "title" : "showWhileTracking"
}
-->

# showWhileTracking

Specifies whether the insertion indicator shows during a tracking loop.

```
static var showWhileTracking: NSTextInsertionIndicator.AutomaticModeOptions { get }
```

## Discussion

When set, the insertion indicator hides during an [`NSEventTrackingRunLoopMode`](/documentation/AppKit/NSEventTrackingRunLoopMode) such as while actively scrolling a view.

---

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)