← Back to release summary

Pointer Lock (Mouse Lock)

Category
Miscellaneous
Type
New or changed feature
Status
Enabled by default (Chrome 23)
Intent stage
None

Summary

Gives access to raw mouse movement, locks the target of mouse events to a single element, eliminates limits of how far mouse movement can go in a single direction, and removes the cursor from view. Obvious use cases are for first person or real time strategy games.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API

View on chromestatus.com