September 1, 2011 at 7:30 AM #1 Is there a way to get mouse click location in ath and atv coordinates or somehow convert x,y into ath,atv?
September 1, 2011 at 8:21 AM #2 Hi,e.g. Code <events onclick="screentosphere(mouse.x, mouse.y, m_ath, m_atv); showlog(); trace('clicked at ath=',m_ath,' atv=',m_atv);" /> also see:https://krpano.com/docu/actions/#screentosphereand/or the example in the viewer download package in the folder "examples/javascript-interface/js-mouse/":https://krpano.com/examples/10812…se/jsmouse.htmlbest regards,Klaus