Detection of the moment a finger leaves the touch display

Hi, all

I would like to use touchscreen to detect when my finger leaves the screen.
Detecting a single tap is now possible based on the answers to other questions, but we have not been able to detect the timing of the finger leaving the display. Is it possible?
In our experiment, the finger is placed at an arbitrary position on the display, and the finger is lifted off the display in response to the “Go” signal.

Hi.

I don’t think it is possible to distinguish between a lifted finger and a still finger. When you lift your finger on a touchscreen the mouse coordinates continue to report the previous location.

Thanks.

Is not possible even if I use pynput.mouse.Listener? Unfortunately, I’m not familiar with pynput library…