# Show arbitrary mesh in the scene inspector

**URL:** <https://forum.babylonjs.com/t/show-arbitrary-mesh-in-the-scene-inspector/45941>\
**Category:** Questions\
**Created:** [November 26, 2023, 4:30pm UTC](https://forum.babylonjs.com/t/show-arbitrary-mesh-in-the-scene-inspector/45941 "2023-11-26T16:30:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![plopidou](https://avatars.discourse-cdn.com/v4/letter/p/82dd89/32.png) [@plopidou](https://forum.babylonjs.com/u/plopidou)\
**Post date:** [November 26, 2023, 4:30pm UTC](https://forum.babylonjs.com/t/show-arbitrary-mesh-in-the-scene-inspector/45941/1 "2023-11-26T16:30:01Z")

</div>

Hi all!

Is there a way to do something similar to this? Could not find in the docs :[

```auto
scene.onPointerDown = function(e, pick_result){

    var ray = scene.createPickingRay(
        scene.pointerX,
        scene.pointerY,
        BABYLON.Matrix.Identity(),
        camera_free,
        false
    );

    var hit = scene.pickWithRay(ray);
    if(hit.pickedMesh){
        // this
        inspector.display_mesh_info(hit.pickedMesh.name);
    }

}

```

Thank you!

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [November 26, 2023, 10:30pm UTC](https://forum.babylonjs.com/t/show-arbitrary-mesh-in-the-scene-inspector/45941/2 "2023-11-26T22:30:46Z")

</div>

```auto
scene.debugLayer.select(node)

```

will do the trick.  
Example (click on any mesh) - [Babylon.js Playground](https://playground.babylonjs.com/#GD37ER)

---

<div class="post-metadata">

**Author:** ![plopidou](https://avatars.discourse-cdn.com/v4/letter/p/82dd89/32.png) [@plopidou](https://forum.babylonjs.com/u/plopidou)\
**Post date:** [November 27, 2023, 8:30am UTC](https://forum.babylonjs.com/t/show-arbitrary-mesh-in-the-scene-inspector/45941/3 "2023-11-27T08:30:57Z")

</div>

thank you! 🙂
