You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Well that is strange - here that works fine. Please can you try:

    E.showPrompt("Do you like fish?").then(function(v) {
      if (v) print("'Yes' chosen");
      else print("'No' chosen");
    });
    Bangle.on('touch',(n,e)=>{
      print("Touch", e);
      g.reset().fillRect(e.x-1, e.y-10,e.x+1,e.y+10).fillRect(e.x-10, e.y-1,e.x+10,e.y+1);
    });
    

    It should print out xy coordinates and draw a crosshair where it thinks you pressed on the screen. Maybe for some reason the XY coordinates are wrong?

About

Avatar for Gordon @Gordon started