<!--
{
  "availability" : [
    "macOS: 10.10.3 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSegmentedControl/trackingMode",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSSegmentedControl(py)trackingMode"
  },
  "title" : "trackingMode"
}
-->

# trackingMode

The type of tracking behavior the control exhibits.

```
var trackingMode: NSSegmentedControl.SwitchTracking { get set }
```

## Discussion

An [`NSSegmentedControl.SwitchTracking`](/documentation/AppKit/NSSegmentedControl/SwitchTracking) value specifies how the control responds when the user presses a keyboard key or clicks, force clicks (applies pressure in a pressure-sensitive system), releases pressure, and so on. For possible values see [`NSSegmentedControl.SwitchTracking`](/documentation/AppKit/NSSegmentedControl/SwitchTracking).

## See Also

  [Segmented Control Programming Guide](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/SegmentedControl/SegmentedControl.html#//apple_ref/doc/uid/10000182i)

[`continuous`](/documentation/AppKit/NSControl/isContinuous)

A Boolean value indicating whether the receiver’s cell sends its action message continuously to its target during mouse tracking.

[`doubleValueForSelectedSegment`](/documentation/AppKit/NSSegmentedControl/doubleValueForSelectedSegment)

When the tracking mode for the control is set to use a momentary accelerator, returns a value for the selected segment.



---

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)