---
title: CGEventMouseSubtype.tabletProximity
framework: coregraphics
role: symbol
role_heading: Case
path: coregraphics/cgeventmousesubtype/tabletproximity
---

# CGEventMouseSubtype.tabletProximity

## Declaration

```swift
case tabletProximity
```

## Discussion

Discussion Specifies that the mouse event originated from a tablet device with the pen in proximity but not necessarily touching the tablet, and that the various kCGTabletProximity field selectors may be used to obtain tablet-specific data from the mouse event. This is often used with mouse move events originating from a tablet.

## See Also

### Constants

- [CGEventMouseSubtype.defaultType](coregraphics/cgeventmousesubtype/defaulttype.md)
- [CGEventMouseSubtype.tabletPoint](coregraphics/cgeventmousesubtype/tabletpoint.md)
