Add marker on mouse click on a 3D cube

@alokparna-wsu The best way is to show your whole project, as it seems that the problem comes from the positioning of renderer’s canvas.
Maybe this post will be helpful with setting mouse vector: Select an object using mouse click
And this topic: Raycaster fails hit test

1 Like