Actions

Map player input (keyboard, mouse, touch, gamepad) to game logic with the @pmndrs/viverse action/binding system. Use when building movement controls, input handling, or custom state/event actions for a Three.js game, or when controls must change across game modes (menu, play, pause, cutscene) — e.g. pointer-lock controls wrongly stay live during a menu and a button click locks the pointer.

drawcall-ai 5c873dd 10.9 KB Updated

File contents

drawcall-ai/skills/tree/main/skills/actions commit 5c873dde28

Frequently asked questions

npx skillmds@latest add drawcall-ai/actions