toggle_overlay
Toggle a lightweight browser overlay to show real-time Three.js debugging info: FPS, draw calls, object count, scene tree, materials, lights. Click objects to highlight with wireframe.
Instructions
Toggle a lightweight scene inspector overlay in the browser. Shows real-time FPS, draw calls, triangles, object count, scene tree, materials, and lights. Click objects in the tree to highlight them with wireframe. Debug only — page reload will reset.
Debug only — page reload will reset. No code changes needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | true=show, false=hide, omit=toggle |