Delete a 3D object where the mouse is on top of

I don’t know if this is even possible, but I am making a 3D game on first person, where once a “bullet” is near the player object, or find the nearest instance of that object, and the mouse left button is clicked, preferably when the mouse is on top of ,the “bullet” is deleted.

I’ve been looking for a bit, and haven’t found anything similar to this.