Global variables are variables you can use anywhere in your project. They have global scope. To use a global variable in your project, write it as a regular tag with an alias script.
variable@script
As you can see, the syntax is same as for entering tags.
Initializing Global Variables
By default, when you use the global variable in the project, it is uninitialized. It is a good habit to define an initial value for the variable. To do so, navigate to the Script Variables Tables and create a new table:
Give it a name and open it.
Now fill in your variable name. The Tag syntax is filled in automatically. As you can see on the right side, you can give your variable an initialization value: