How to create a node in the sme under mousepos


(sme.GetView sme.activeView).CreateNode (falloff()) mouse.screenpos will create a falloffmap but on the wrong position , so , how to let the map be created in a right way under the mouse?


you can drop the map onto sme view
check out this thread: Drag and drop from winform to material editor

It is also possible to get the coords directly from the memory of NodeView class instance, but it is pretty low level and unsafe.

sme mouse coords


woo, amazing , fantacy script ;
and great Serejah.