toggle

noun
  1. A pin, bolt, or rod that is used to fasten something by being inserted through a loop or hole. noun
    She secured the coat with a wooden toggle.
    The toggle on the duffel bag was broken, making it difficult to close.
  2. A switch that alternates between two positions or states, such as on and off. noun
    He flipped the toggle to turn on the lights.
    The device has a toggle for switching between modes.
  3. To switch between two options or states, often by pressing a button or key. verb
    You can toggle between the two screens using the F1 key.
    The software allows users to toggle the settings easily.