Hello @daniel-edge456
in UIFlow2 v2.2.6 using touch blocks for M5Paper and then look into the Python tab I get the following code to get touch coordinates:
if (M5.Touch.getCount()) > 0:
x = M5.Touch.getX()
y = M5.Touch.getY()
doing the same with power blocks I get:
Power.deepSleep(1000, True)
to put M5Paper into deep sleep.
Thanks
Felix