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

# isSelectable

A Boolean value that determines whether the user can select the content of the text field.

```
var isSelectable: Bool { get set }
```

## Discussion

If <doc://com.apple.documentation/documentation/Swift/true>, the text field becomes selectable but not editable. Use [`isEditable`](/documentation/AppKit/NSTextField/isEditable) to make the text field selectable and editable. If <doc://com.apple.documentation/documentation/Swift/false>, the text is neither editable nor selectable.

---

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)