how to make a bullet shoot in the direction my mouse is pointing

i want to be able to click anywhere on the screen and my character will shoot in that direction