Little help pls....

i’m making game like this, so i have one question.
How to make weapon to shoot at the mouse location?
How to hide mouse and add some hud for it :slight_smile:

Thanks :slight_smile:

You can hide the mouse cursor using Screen.showCursor. A point on the screen can be translated into the corresponding point in the scene using Camera.ScreenToWorldPoint (and you can get the screen position of the mouse with Input.mousePosition). When you’ve got this point in the scene, you can use it as the target point for the gun and also as the location of a HUD/crosshair object.