code: def update():
      global curvePoint, index
      index = (index + 1) % len(x)
      curvePoint.setPos(float(index) / (len(x) - 1))
      text2.setText("[%0.1f, %0.1f]" % (x[index], y[index]))
  
label_desc: Use image node_id 1 for calling a global function with example usage: update() without return types