System.PenButtonPushed
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. |
System.PenButtonPushed(Index as Integer) As Boolean
New in 5.5
Supported for all project types and targets.
New in 5.5
Supported for all project types and targets.
Returns a Boolean indicating whether the button passed as Index is currently pushed (macOS only).