code: def mouseMove(widget, pos, buttons=None, modifier=None):
      if isinstance(widget, QtWidgets.QGraphicsView):
          widget = widget.viewport()
  
      global_pos = QtCore.QPointF(widget.mapToGlobal(pos.toPoint()))
      if modifier is None:
          modifier = QtCore.Qt.KeyboardModifier.NoModifier
      if buttons is None:
          buttons = QtCore.Qt.MouseButton.NoButton
      event = QtGui.QMouseEvent(
          QtCore.QEvent.Type.MouseMove,
          pos,
          global_pos,
          QtCore.Qt.MouseButton.NoButton,
          buttons,
          modifier,
      )
      QtWidgets.QApplication.sendEvent(widget, event)
  
file_path: pyqtgraph/tests/ui_testing.py
imports: import time
  from pyqtgraph.Qt import QtCore, QtGui, QtTest, QtWidgets
label_desc: Use image node_id 4 for calling a global function with example usage: mouseMove(widget, pos, buttons, modifier) without return types