screentosphere(mouse.x, mouse.y, toh, tov); jscall(calc('console.log("'+toh+'")')); jscall(calc('console.log("'+tov+'")')); if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); ); loadscene(get(startscene), null, MERGE); if(startactions !== null, startactions() ); jscall('window.sceneload()'); mul(stagescale,0.5); def(scale, string, get(hotspot[video].scale)); hotspot[video].playvideo(%1, '', false); set(hotspot[video].scale, get(scale)); set(hotspot[video].scale, %1); def(scale, string, get(hotspot[video].scale)); jscall(calc("window.getScaleHandle('"+ get(scale) +"')") ); set(hotspot[video].muted, %1); jscall('window.videoready()'); jscall('window.onvideoplay()');