Hi!
I am wondering how can I in the JS script reference a global variable that is declared in spread sheets? So basically I have created global variable in spread sheet now I want to access it in scripts. How do I do it?
Is this even possible?
Thank you!
Martin Starešinčić
Develop games in your browser. Powerful, performant & highly capable.
runtime.globalVars.myglobalvar - for global variables
localVars.myvariable - for local
You should check out the Scripting sub-forum, there are tons of examples.
runtime.globalVars.myglobalvar - for global variables localVars.myvariable - for local You should check out the Scripting sub-forum, there are tons of examples.
Thank you! I will check it out.