The Add Variable button can be clicked to add new variables to a selected screen, component, or behavior. Variables added to screens and components are referred to as custom variables. Custom variables differ from variables which come from standard elements in the following ways:
Custom variables are defined at the screen or component level and cannot be added to standard elements
Custom variables can be renamed
Custom variables can be deleted
Custom variables do not have automatic built-in functionality, although they can be used in Variable References
Adding Variables
To add a variable, select a screen or component and click the Add Variables button.
Add Variable button in the Variables tab
Select the variable type and enter the variable's name in the popup window.
Add Variable popup window
Newly added variables appear in the Variables tab.
New variable in the Variables tab
Custom variables can be edited just like any other variable but they do not have any built-in behavior such as modifying the appearance of objects in the Editor tab.
Removing Custom Variables
Custom variables can be removed by right-clicking on the variable and selecting the Delete Variable item.
Delete Variable right-click item
Editing Variables
Existing custom variables can be edited by right-clicking on the variable and selecting the Edit Variable item.