Press and hold the space key and move the mouse pointer to aim the ball. Release the space key to launch.
Credit to G_LegoMaster941 for the aiming