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

# isMovable

A Boolean value that indicates whether the window can be dragged by clicking in its title bar or background.

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

## Discussion

The value of this property is <doc://com.apple.documentation/documentation/Swift/true> if the window can be moved by the user; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

When a window’s [`isMovable`](/documentation/AppKit/NSWindow/isMovable) property is <doc://com.apple.documentation/documentation/Swift/false>, the value of the [`isMovableByWindowBackground`](/documentation/AppKit/NSWindow/isMovableByWindowBackground) property is ignored. When the value of [`isMovable`](/documentation/AppKit/NSWindow/isMovable) is <doc://com.apple.documentation/documentation/Swift/false>, the window can only be dragged between spaces in F8 mode, and its relative screen position is always preserved. Note that a resizable window may still be resized, and the window frame may be changed programmatically. A nonmovable window will not be moved or resized by the system in response to a display reconfiguration. Applications may choose to enable application-controlled window dragging after disabling user-initiating dragging by handling the [`mouseDown(with:)`](/documentation/AppKit/NSResponder/mouseDown(with:))/[`mouseDragged(with:)`](/documentation/AppKit/NSResponder/mouseDragged(with:))/[`mouseUp(with:)`](/documentation/AppKit/NSResponder/mouseUp(with:)) sequence in [`sendEvent(_:)`](/documentation/AppKit/NSWindow/sendEvent(_:)) in an `NSWindow` subclass.

---

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)