REDNODE / DOCS

Pointer lock test

Example apps / pointer-test / v0.1.0

Overlay app

A camera turned by raw mouse movement while the right button is held, with the web's Pointer Lock API.

Simulated game
Mod log

    How it works

    In the game the plugin holds the cursor in place, the way games do for a camera. On this page your browser does it.

    What it uses

    requestPointerLock movementX pointerlockchange

    Try this

    Use it

    Copy the files into red4ext/plugins/REDnode/apps/pointer-test/ in the game folder, or start your own package from them: change id and name in the manifest first. The whole folder is on GitHub.