Google Chrome updated with support for Pointer Lock JavaScript API


Google has just released a new stable build of Chrome for desktops.

The latest Chrome comes with support for the Pointer Lock JavaScript API.

The company spoke about this feature:

Today’s Chrome Stable release advances this effort with the inclusion of the Pointer Lock JavaScript API (often called Mouse Lock). Now, 3D applications such as first-person games can allow users to control their perspective naturally with the mouse, without moving outside the window or bumping into the edge of their screen.

Google Chrome updated with support for Pointer Lock JavaScript API

Demo