How to add Drag movement in godot for mobile???

Godot Version

4.3

Question

im making a mobile game and i want to implement a drag/jump thing where(you could probably guess) you drag the character and it will jump. Im not sure whether to add gravity or not. Thanks Me