Variable Export
You can export the value of a variable to create an interface that allows you to connect parameters outside of the template.
For example, you can connect the menu switches of a pop-up menu to the selector control that opens the menu.
For more details, refer to “Working with exported variables” in the “How-To” section on https://developer.steinberg.help.