I'm starting in this world of Google Sheets scripts.
I have seen how to create menus and submenus that appear on the sheet but, although it will be easy, I have not found a way to make active and inactive entries.
What function allows me to activate or deactivate a menu option?