2d mouse aim shoot bullet

Hello everyone, i like to know

1 : how my bullet shoot with mouse X,Y

2 : how I create a var to store the x,y data so my bullets won't always move with my mouse but

only the axis when i click</p>

3 : how to fire with hold click but set duration for bullets

4 : how to rotate the bullet

forgive me if there are post like this before and pls link it

I’m trying to do the same thing. I found this tutorial for a top down shooter that may help.

http://www.rebelplanetcreations.com/downloads/Other/Tutorials/HowToMakeAGameInUnity3D.pdf