---
title: absoluteZ
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsevent/absolutez
---

# absoluteZ

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

## Declaration

```swift
var absoluteZ: Int { get }
```

## Discussion

Discussion For the coordinate to be valid, this event must be generated by a tablet pointing device (otherwise the property is set to 0). The z coordinate does not represent pressure. It registers the depth coordinate returned by some tablet devices with wheels; if the device is something other than these, 0 is returned. This method is valid only for mouse events with a subtype of NSTabletPointEventSubtype and for events of type NSTabletPoint.

## See Also

### Getting tablet pointing information

- [absoluteX](appkit/nsevent/absolutex.md)
- [absoluteY](appkit/nsevent/absolutey.md)
- [buttonMask](appkit/nsevent/buttonmask-swift.property.md)
- [NSEvent.ButtonMask](appkit/nsevent/buttonmask-swift.struct.md)
- [rotation](appkit/nsevent/rotation.md)
- [tangentialPressure](appkit/nsevent/tangentialpressure.md)
- [tilt](appkit/nsevent/tilt.md)
- [vendorDefined](appkit/nsevent/vendordefined.md)
