code: def ratios_to_coordinates(self, ratios, screen_region=None):
      window_offset_x = self.game.window_geometry["x_offset"]
      window_offset_y = self.game.window_geometry["y_offset"]
  
      if screen_region is None:
          width = self.game.window_geometry["width"]
          height = self.game.window_geometry["height"]
  
          y0, x0, y1, x1 = (0, 0, height, width)
      else:
          y0, x0, y1, x1 = self.game.screen_regions[screen_region]
  
          width = x1 - x0
          height = y1 - y0
  
      return (
          window_offset_x + x0 + (ratios[0] * width),
          window_offset_y + y0 + (ratios[1] * height),
      )
  
imports: import enum
  from sneakysnek.keyboard_keys import KeyboardKey
  from sneakysnek.keyboard_event import KeyboardEvent
  from sneakysnek.mouse_buttons import MouseButton
  from sneakysnek.mouse_event import MouseEvent
label_desc: Use image node_id 21 for calling the InputController obj's underlying member method code with example usage: obj.ratios_to_coordinates(ratios, screen_region) and returns: unknown,  unknown