---
title: "rightMouseDragged(with:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsresponder/rightmousedragged(with:)"
---

# rightMouseDragged(with:)

Informs the receiver that the user has moved the mouse with the right button pressed.

## Declaration

```swift
func rightMouseDragged(with event: NSEvent)
```

## Parameters

- `event`: An object encapsulating information about the mouse-dragged event.

## Discussion

Discussion The default implementation simply passes this message to the next responder.

## See Also

### Responding to Mouse Events

- [mouseDown(with:)](appkit/nsresponder/mousedown(with:).md)
- [mouseDragged(with:)](appkit/nsresponder/mousedragged(with:).md)
- [mouseUp(with:)](appkit/nsresponder/mouseup(with:).md)
- [mouseMoved(with:)](appkit/nsresponder/mousemoved(with:).md)
- [mouseEntered(with:)](appkit/nsresponder/mouseentered(with:).md)
- [mouseExited(with:)](appkit/nsresponder/mouseexited(with:).md)
- [rightMouseDown(with:)](appkit/nsresponder/rightmousedown(with:).md)
- [rightMouseUp(with:)](appkit/nsresponder/rightmouseup(with:).md)
- [otherMouseDown(with:)](appkit/nsresponder/othermousedown(with:).md)
- [otherMouseDragged(with:)](appkit/nsresponder/othermousedragged(with:).md)
- [otherMouseUp(with:)](appkit/nsresponder/othermouseup(with:).md)
