Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
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