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

# acceptsMouseMovedEvents

A Boolean value that indicates whether the window accepts mouse-moved events.

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

## Discussion

The value of this property is <doc://com.apple.documentation/documentation/Swift/true> when the window accepts (and distributes) mouse-moved events; otherwise, <doc://com.apple.documentation/documentation/Swift/false>. By default the value is <doc://com.apple.documentation/documentation/Swift/false>.

---

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)