---
title: acceptsMouseMovedEvents
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nswindow/acceptsmousemovedevents
---

# acceptsMouseMovedEvents

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

## Declaration

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

## Discussion

Discussion The value of this property is true when the window accepts (and distributes) mouse-moved events; otherwise, false. By default the value is false.

## See Also

### Handling Mouse Events

- [ignoresMouseEvents](appkit/nswindow/ignoresmouseevents.md)
- [mouseLocationOutsideOfEventStream](appkit/nswindow/mouselocationoutsideofeventstream.md)
- [windowNumber(at:belowWindowWithWindowNumber:)](appkit/nswindow/windownumber(at:belowwindowwithwindownumber:).md)
- [trackEvents(matching:timeout:mode:handler:)](appkit/nswindow/trackevents(matching:timeout:mode:handler:).md)
- [performDrag(with:)](appkit/nswindow/performdrag(with:).md)
- [foreverDuration](appkit/nsevent/foreverduration.md)
