Notice:
The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

pointer lock

< apis
Jump to: navigation, search

Pointer Lock API

This article is Ready to Use.

W3C Candidate Recommendation

Summary

The Pointer Lock API provides scripted access to raw mouse movement data while locking the target of mouse events to a single element and removing the cursor from view. This is an essential input mode for certain classes of applications, especially first person perspective 3D applications and 3D modelling software.





See also

External resources

http://www.w3.org/TR/pointerlock/