Slingshot style jump system

I am currently trying to make a 2D game for mobile and as i am quite new i hit a roadblock with one of my main mechanics, the mechanic involves a slingshot style jump system that when the player presses on the screen and drags down the character is launched in the opposite direction depending on how far down/to the side they drag, thanks for any help!