Allow Interactions to change Variable Modes

Interactions allow us to change variables individually, but I'd like to create a single button for my website users to change the webpage's variable mode, without having to map each individual variable in the interactions panel, after creating an existing variable mode.

The reason is because I set up a light and dark mode for my portfolio website, and I'd like the user to be able to click a toggle to switch the mode for themselves.


In the Interactions Actions add-dropdown, if there could be an item below Set variable value, called "Set variable mode", it'd make this so much easier!

  • Brian Chang
  • Apr 15 2025
  • Reviewed