Throwing mechanics like Pokemon Go

Godot Version

4.3

Question

I want to apply ball throwing mechanics just like that of Pokemon Go but having trouble implementing it.

I got the click and drag feature with raycasting, but I have no idea how to throw this when i release the mouse.