How do Touch Input

Hello,
I’ve been trying for hours but I can’t get a good result.
I am just getting to know the engine and am currently starting with an “Endless Tube” game.
I would like it to be playable on mobile. As soon as the player swipes in a direction, the camera should move in that direction until it hits the tunnel wall or the player lets go or changes direction. Also, if he swipes his finger 1 cm to the left, the camera should move slower than if he swipes 2 cm.

I hope you can help me. Best with a blueprint because I am still quite inexperienced.
Greetings Marcel