// Add an event with handler on it hotspot.onClick.add(myCustomHandler);}

// Open the link with the handlerfunction myCustomHandler(){ window.location = "http://www.link.com";}

As said on another thread, there seems to be a problem for now with the onReady event. So don't be sure that it will work perfectly at the moment

You can alternatively call the function on another event, such as viewer.story.onSceneLoadComplete.add(hotspotSetup)It calls the function each time a scene is loaded, so you may have to select the scene you want in the function :