- Home /
 
Cursor Lock in WebGL - html requests
The manual page mentions some Html5 API requests
 Element.requestPointerLock 
 
               And
 Element.requestFullscreen
 
               What are those, and how can I access them in my scripts?
-Should I use Application.ExternalCall("Element.requestPointerLock");?
Unity's manual: https://docs.unity3d.com/Manual/webgl-cursorfullscreen.html
               Comment
              
 
               
              Your answer