<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSEvent/absoluteY",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSEvent(py)absoluteY"
  },
  "title" : "absoluteY"
}
-->

# absoluteY

The absolute y coordinate of a pointing device on its tablet at full tablet resolution.

```
var absoluteY: Int { get }
```

## Discussion

For the coordinate to be valid, this event must be generated by a tablet pointing device (otherwise the property is set to `0`). This property is valid only for mouse events with a subtype of `NSTabletPointEventSubtype` and for events of type `NSTabletPoint`. Use this value if you want to scale from tablet location to screen location yourself; otherwise use the class method [`mouseLocation`](/documentation/AppKit/NSEvent/mouseLocation) or the instance method [`locationInWindow`](/documentation/AppKit/NSEvent/locationInWindow).

---

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)