put the mouse where you want to shoot,then press space bar to shoot.
I would like to thank Charlie Froude for help in the coding.