Widget to spawn on mouse on left click

You need to translate world to screen coords:

If you’re using a canvas instead of the viewport, get the widget as canvas child and set the position in the canvas.