RuntimeObject or RuntimeScene:
Can you get variables that way?
Read and change the value of a variable:
var myVar = runtimeScene.getVariables().get(“MyVar”);
var myVar2 = runtimeScene.getVariables().get(“MyVar2”);
var currentValue = myVar.getAsNumber();
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.