default behaviour seems strange for me
Quote: "If a virtual button is on screen and is clicked or touched the button will capture that event and GetMouseLeftState will return 0 (up), and a touch event will not be generated for that action."
but it is becoming just ridiculous when the button is hidden.
addVirtualButton(1, 50, 50, 20)
setVirtualButtonVisible(1, 0)
do
// hold LMB near the center and check if you got something
print(str(getPointerX(), 3) + ', ' + str(getPointerY(), 3))
print(getPointerState())
sync ( )
loop