💡 LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
Code: getting x,y position before moving the mouse??
-
To get the x,y position of the mouse pointer, normally you would use
def onMouseMove(flags, x, y, view) @ip.pick(view, x, y)
This code relies on the mouse being moved. But, if a tool is started with a keypress, is it possible to immediately get the x,y position of the mouse pointer before actually moving the mouse?
Advertisement