System.PenPressure
From Xojo Documentation
Method
This method is only available on the macOS platform. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform. |
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).