extends Control func input_action_pressed(key: String): match key: "menu": Global.ui_mgr.pause_close("menu") Global.ui_mgr.open("hud")