code: def mouse(pos):
      global mousepos
      pos = view.mapSceneToView(pos)
      mousepos = np.array([pos.x(), pos.y()])
  
imports: import numpy
  import verlet_chain
  import pyqtgraph
label_desc: Use image node_id 3 for calling a global function with example usage: mouse(pos) without return types