Hi,
Would it be possible to get the args (as in the local scope action) also in the js type action?
So we, for example, could do:
<action name="bla7" type="js" args="t,n,a,v"><![CDATA[
let b = krpano.get(`${t}[${n}]`);
b[a]=v;
]]></action>
Instead of for example:
<action name="bla7" type="js" ><![CDATA[
let n = args[2];
let a = args[3];
let v = args[4];
let b = krpano.get(`layer[${n}]`);
b[a]=v;
]]></action>
Tuur