I'm making a pretty basic game, however:

How do I make it so when I click, a line (the bullet) gets created on my ship and sent towards the position of the mouse when clicked (as in, I want it to go to were the mouse *was* at the time of the click, not follow the mouse around, lol)

Thanks