Like using a variable set up using visual events in javascript?
Can you get variables that way?
Code examples
Read and change the value of a variable:var myVar = runtimeScene.getVariables().get(“MyVar”);
var myVar2 = runtimeScene.getVariables().get(“MyVar2”);var currentValue = myVar.getAsNumber();
myVar.setNumber(currentValue+1);myVar2.setString(“Hello, world”);
Do you need this?
Yes. One more thing, are those scene variables? Just checking.
Yes. According to the link in the wiki, which I indicated above, all this is described.