System.PenPressure

From Xojo Documentation

Method


System.PenPressure() As Double

New in 5.5

Supported for all project types and targets.

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).