Look Around Without Click and Dragging


#1

With A Frame, instead of clicking and dragging to look around, I want to me able to look all around just by moving my mouse. How do I do this?


#2

Sounds like your looking for Pointer Lock, I haven’t messed around with it myself but you can find documentation at https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API.