InputEvent.SCREENDRAG results flick gestures

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By tam0705
:warning: Old Version Published before Godot 3 was released.

Hello, I want to make a 2d mobile game where the player can drag their phone screen to move the camera. So I used this script: input script - Pastebin.com
The problem is that the camera laggily moves, like it isn’t smooth, um it is hard to explain; like the gestures are flick.
Is there any way to fix this? Has anybody experienced this?
Thank you and sorry for my bad English.

:bust_in_silhouette: Reply From: tam0705

I succeeded fixing it by detecting mouse input instead of screen_drag, since I remembered that mouse inputs could still be detected on mobiles.