Cursor locks to rotating the camera on mouse up outside of iframe

As of right now, I’d recommend moving forward with the pointer lock setup. I don’t want to give up on finding a fix for this but it may be a while if you need an immediate solution. It might also be worth looking into possibly adding an EventListener to the window itself and manually detecting when the if the cursor is outside of the window.

1 Like