<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextMovement",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSTextMovement"
  },
  "title" : "NSTextMovement"
}
-->

# NSTextMovement

```
enum NSTextMovement
```

## Topics

### Movement Options

[`case `return``](/documentation/AppKit/NSTextMovement/return)

[`case tab`](/documentation/AppKit/NSTextMovement/tab)

[`case backtab`](/documentation/AppKit/NSTextMovement/backtab)

[`case left`](/documentation/AppKit/NSTextMovement/left)

[`case right`](/documentation/AppKit/NSTextMovement/right)

[`case up`](/documentation/AppKit/NSTextMovement/up)

[`case down`](/documentation/AppKit/NSTextMovement/down)

[`case cancel`](/documentation/AppKit/NSTextMovement/cancel)

[`case other`](/documentation/AppKit/NSTextMovement/other)

### Initializers

[`init?(rawValue: Int)`](/documentation/AppKit/NSTextMovement/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)