Informs the view that the user has moved the mouse with the left button pressed.
SDKs
- macOS 10.15+
- Xcode 11.0+
Framework
- Reality
Kit
Declaration
@objc override dynamic func mouseDragged(with event: NSEvent)
Parameters
event
An object encapsulating information about the mouse event.
Discussion
The view handles the event instead of passing it to the next responder. See NSResponder
for more information about the responder chain.