I'm struggling to find any guidance on how to control Camera Rotation in A-Frame. I have a 360 image set up as the <a-image> element. I want the image or camera to rotate as I move the mouse over the screen - moving the mouse right should move the image right, and so on.
It's easy to track the pointer's position, but how can I make the camera rotate by a specific angle so the 360 image appears to rotate for the user?
Thank you in advance.