The video links a free asset pack for unity. You could just download that and have the controls.
If you’re heart set on developing it yourself, you’ll need to store the position on screen that the click starts, and when the click is released, use the X and Y difference from the old and new mouse position to calculate the ball’s velocity. And simply set that velocity.