I want to make a KinematicBody/sprite which is always at where the players finger (mobile) is. Without input lag. Precision is very important. This is in 2D.
func _unhandled_input(event): if event is InputEventScreenTouch and event.pressed == true: (event.position) # the position of the touch
Literally an example in the docs: Input examples — Godot Engine (stable) documentation in English
tl:dr
InputEventScreenTouch is equivalent to a mouse click event, and InputEventScreenDrag works much the same as mouse motion.
InputEventScreenTouch
InputEventScreenDrag