Forum

Stabilize touchscreen output

Is there a way to stabilize the xy-position-signal from a touchscreen?

If I have a drag and drop interaction and do not press hard enough on the touchscreen, briefly disappear the “mouse coordinates” and my interaction (drag object) is disturbed).
I have already tried the one € filter and the transient filter. but does not bring much.

For a simple single touch you could “freeze” the last known coordinates in case the finger disappears. You can use the sample and hold node (s+h) to do that depending whether there is a touch id present for example. See like so:
grafik

Multitouch is bit more complicated though but can be challenged in a similar way.
Regarding drag and drop in particular you might also find some useful forum posts with these keywords.