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

# isRemovable

A Boolean that indicates whether the user can remove the receiver from its ruler view.

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

## Discussion

<doc://com.apple.documentation/documentation/Swift/true> to allow the user to drag the marker image off of the ruler and remove the marker, <doc://com.apple.documentation/documentation/Swift/false> to prevent the user from removing the marker.

By default ruler markers are not removable.

---

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)