Adding Mesh on mouse click

I wanna add simple mesh like box where is created at the position of mouse pointer.
Please enlighten me. Thanks you.

Any help ? Please :sweat_smile:

Try it like so:

The idea is to setup a raycaster with the mouse and camera like in the three.js demos. Instead of performing an intersection test, you use its ray and move a defined distance along it. This is done by using the at() method.


Thank you so much. I have been struggling for two days.