<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ARView/rightMouseUp(with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "c:@CM@RealityKit@objc(cs)ARView(im)rightMouseUp:"
  },
  "title" : "rightMouseUp(with:)"
}
-->

# rightMouseUp(with:)

Informs the view that the user has released the right mouse button.

```
@MainActor @preconcurrency override dynamic func rightMouseUp(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 <doc://com.apple.documentation/documentation/AppKit/NSResponder> for
more information about the responder chain.

---

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)