In addition, I just mimicked the source from your example here
http://krpano.com/examples/118/examples/…se/jsmouse.html.
krpano.call("screentosphere(mouse.x, mouse.y, mouseath, mouseatv);")
setInterval(function() {
mouse_at_x = krpano.get("mouse.x");
mouse_at_y = krpano.get("mouse.y");
mouse_at_h = krpano.get("mouseath");
mouse_at_v = krpano.get("mouseatv");
console.log(mouse_at_x, mouse_at_y, mouse_at_h, mouse_at_v)
}, 1000.0 / 30.0);
The logging results in proper mouse values, but I still get NaN for h and v values (ex. 815 71 NaN NaN). I am using 1.19-pr6 if that helps (bug? doing it wrong?).