I have a question on getting the mouse coordinates (in 3d space) when I click in the 3d view.
I have a draw handler in a modal operator (POST_VIEW) and I want to get the mouse cursor x, y vertex and the 3rd vertex should be on the current viewplane.
Do you have a Python example?
Text Editor > Templates > Python > Operator Modal Draw
template. $\endgroup$