I have a crosshair on my screen and what I want to do is simulate a gun shooting. I could use a vector between somewhere in the middle of my player and where the bullet should go to.
You would use a ray cast for this. https://docs.godotengine.org/en/stable/tutorials/physics/ray-casting.html