[HELP] How could I make the ball throwing mechanic?

Hi! So I would like to make a throwing sistem similar to the one on tigerball, in which you swipe and the ball will be launched in that direction.

I don´t need the entire script but I would like to know where to start.