The Babylon Inspector is a diagnostic tool that makes it possible to view and edit the scene graph, properties of entities within the scene, and more.
npm install babylonjs-inspector@babylonjs/inspector ESM package instead of this UMD package. This package can be useful if you are trying to use Inspector directly in a web page without running your own bundler.
bash
npm install babylonjs-inspector
`
The simplest way to use Inspector is to call the BABYLON.ShowInspector function, passing in your scene:
`ts
// Your code that sets up a Babylon.js scene...
BABYLON.ShowInspector(scene);
`
`html
``