_input(event): I have
if Input.is_action_pressed("menu"): (menu is bound to the Esc key) to show the menu when I press Esc (it simply .show() a controll node (the menu), if the menu controll node .isvisible() == false or .hide() the menu controll node, if the menu controll node .isvisible() == true) and hold it, it open and closes the menu (and so on) continiously.
I don't want that, I would prefer that it only shows/hides the menu once, regardless of whether I pressed Esc once or hold it.
Is there a way of doing it? Or do I need to make a "workaround" with
Thank you very much!