Script Globals A script global is an ordinary non-static global variable in a script (.rs) file. For a script global named var defined in the file filename.rs, there will be a method get_var reflected in the class ScriptC_filename.