https://www.sidefx.com/docs/houdini/hom/state_events.html#snap [www.sidefx.com]
def onMouseEvent(self, kwargs): ui_event = kwargs["ui_event"] snap_dict = ui_event.snappingRay() if snap_dict["snapped"] and snap_dict["geo_type"] == hou.snappingPriority.GeoPoint: self.log("You snapped to a point:") self.log(snap_dict["point_index"]) # How to retrieve the position by using snap_dict?