Loading...
Loading...
Use when structuring a PlayCanvas game's control flow — a small state machine such as ready, playing, paused, and over, pointer-lock capture, pausing on focus or pointer-lock loss, a full reset, and a stable clock and timestep — so the loop stays deterministic and recoverable.
npx skill4agent add playcanvas/skills manage-game-statepointerlockchangedocument.pointerLockElementbuild-appreadydocument.pointerLockElementreload00build-app