code: def on_keyboard(key, x, y):
      if key == "\033":
          sys.exit()
  
imports: from vispy.gloo import gl
label_desc: Use image node_id 2 for calling a global function with example usage: on_keyboard(key, x, y) without return types