<!--
{
  "availability" : [
    "macOS: 10.4.0 - 10.15.0"
  ],
  "documentType" : "symbol",
  "framework" : "Quartz",
  "identifier" : "/documentation/Quartz/QCRendererMouseLocationKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Quartz"
    ],
    "preciseIdentifier" : "c:@QCRendererMouseLocationKey"
  },
  "title" : "QCRendererMouseLocationKey"
}
-->

# QCRendererMouseLocationKey

A key for the mouse location.

```
let QCRendererMouseLocationKey: String
```

## Discussion

The associated value is an <doc://com.apple.documentation/documentation/Foundation/NSPoint> object stored in an <doc://com.apple.documentation/documentation/Foundation/NSValue> object. The mouse location is in normalized coordinates relative to the OpenGL context viewport (`[0,1]x[0,1]` with the origin `(0,0)` at the lower-left corner).

---

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)