Is there a way to set a variables (one that holds an object or a class) as a global for any custom function?
So you mean you created a variable, want all functions to automatically make that var a global? I don't think possible?