System.PenPressure

From Xojo Documentation

Method

System.PenPressure() As Double

Supported on Desktop (Mac).

Returns as a Double the current pen pressure (macOS only).

Notes

It is meaningful only if a graphics tablet is connected. The value ranges from zero (not touching the tablet) to 100 (full pressure).