---
title: showWhileTracking
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nstextinsertionindicator/automaticmodeoptions-swift.struct/showwhiletracking
---

# showWhileTracking

Specifies whether the insertion indicator shows during a tracking loop.

## Declaration

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

## Mentioned in

Adopting the system text cursor in custom text views

## Discussion

Discussion When set, the insertion indicator hides during an NSEventTrackingRunLoopMode such as while actively scrolling a view.

## See Also

### Configuring automatic mode options

- [showEffectsView](appkit/nstextinsertionindicator/automaticmodeoptions-swift.struct/showeffectsview.md)
