toggle
tog-gle
noun
A small pin or bar used to fasten items or as a switch.
"Her duffel coat had wooden toggles."
verb
To switch between two states or options, often with a single action.
"Click to toggle the sound on or off."
Thesaurus
Synonyms: on-off switch, on/off switch, toggle switch