Getting the parameter under mouse cursor (python)

   1158   0   1
User Avatar
Member
69 posts
Joined: Jan. 2014
Offline
Hi, is there a way to get the hou.parm object for the parm currently under the mouse cursor in python ? I'm writting a tool to speed up channel linking and wanted to access that.

I think QT already has methods that can be useful - QApplication.widgetAt(QPoint()) - like in here https://doc.qt.io/qt-5/qapplication.html#widgetAt [doc.qt.io], but I'm not sure this works or if it does, how to translate the widget object back into the hou.parm object.

Thanks.
  • Quick Links