How to make toggles stay highlighted when clicking away

I’m trying to make the main menu of my game, with toggles that open submenus for options, multiplayer and such. Yet when I click anywhere, the toggle becomes unhighlighted.

  • I want it so that it only becomes unhighlighted when I press another menu toggle
  • I want it to still remain highlighted if I also select toggles in the submenus

Did you found a solution?