<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextSelectionNavigation/Modifier",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSTextSelectionNavigationModifier"
  },
  "title" : "NSTextSelectionNavigation.Modifier"
}
-->

# NSTextSelectionNavigation.Modifier

Values that describe how the framework handles different kinds of selection modifiers.

```
struct Modifier
```

## Topics

### Creating a navigation modifier

[`init(rawValue: UInt)`](/documentation/AppKit/NSTextSelectionNavigation/Modifier/init(rawValue:))

Creates a new navigation modifier using a raw value.

### Navigation modifier characteristics

[`static var extend: NSTextSelectionNavigation.Modifier`](/documentation/AppKit/NSTextSelectionNavigation/Modifier/extend)

The value that indicates the framework extends the selection by not moving the initial location while in a drag selection.

[`static var multiple: NSTextSelectionNavigation.Modifier`](/documentation/AppKit/NSTextSelectionNavigation/Modifier/multiple)

The value that indicates the framework extends the selection visually inside the rectangular area defined by the anchor and dragged positions.

[`static var visual: NSTextSelectionNavigation.Modifier`](/documentation/AppKit/NSTextSelectionNavigation/Modifier/visual)

The value that indicates the framework extends the selection visually inside the rectangular area defined by the anchor and drag positions.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

[`OptionSet`](/documentation/Swift/OptionSet)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

---

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)