I am trying to create an app where teachers will be able to set mathematical questions in hotspots, if the students give a correct answer than they are allowed to access the content from the hotspot.
But in order to do that I need to somehow get the current position (yaw and pitch) the teacher clicks in the screen and then display a context menu, with an option to add a question, I've thought of this by setting on the Pannellum component a false prop in draggable, but by doing so I am unable to click on the screen whatsoever.
I would control the position accordingly to this example page
I am trying to create an app where teachers will be able to set mathematical questions in hotspots, if the students give a correct answer than they are allowed to access the content from the hotspot.
But in order to do that I need to somehow get the current position (yaw and pitch) the teacher clicks in the screen and then display a context menu, with an option to add a question, I've thought of this by setting on the Pannellum component a false prop in draggable, but by doing so I am unable to click on the screen whatsoever.
I would control the position accordingly to this example page