code: def mouseMoveEvent(self, ev):
      pos = ev.scenePos()
      if not self.creating and self.is_draw and self.is_press:
          self.rect_box[2] = int(pos.x())
          self.rect_box[3] = int(pos.y())
          if len(self.polygon_items) != 0:
              self.polygon_items[-1].remove()
          self.rectboxReques.emit(*self.rect_box)
      super(AnnotationScene, self).mouseMoveEvent(ev)
  
imports: from qtpy import QtWidgets, QtCore
  from qtpy.QtCore import Qt, QPointF
  from qtpy.QtGui import QPen, QColor
label_desc: Use image node_id 8 for calling the AnnotationScene obj's underlying member method code with example usage: obj.mouseMoveEvent(ev) without return types