# How can I pick only specific parts of information from the Inspector tab?

**URL:** <https://forum.babylonjs.com/t/how-can-i-pick-only-specific-parts-of-information-from-the-inspector-tab/20134>\
**Category:** Questions\
**Tags:** documentation\
**Created:** [April 19, 2021, 9:13pm UTC](https://forum.babylonjs.com/t/how-can-i-pick-only-specific-parts-of-information-from-the-inspector-tab/20134 "2021-04-19T21:13:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TechFlier](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/techflier/32/15655_2.png) [@TechFlier](https://forum.babylonjs.com/u/TechFlier)\
**Post date:** [April 19, 2021, 9:13pm UTC](https://forum.babylonjs.com/t/how-can-i-pick-only-specific-parts-of-information-from-the-inspector-tab/20134/1 "2021-04-19T21:13:47Z")

</div>

Hi, I’m new to this website so please forgive me in advance if I’m violating any site rules and such.

I want to build a small website that will verify different parts of a GLTF file, and I’ve stumbled across babylon.js. What I’m envisioning is that I’m able to upload a .glb file to my site, and use Babylon.js to return information such as vertex count, material count, and details like that. In the sandbox I noticed that this information is present in the inspector tab, and my question is if I’m able to get that same information returned to me if I were able to reference a .glb object.

I’ve tried looking through the API, and it doesn’t necessarily seem like there is that functionality, but (since I’m new to this space) I wanted to throw this question out and maybe someone could have an idea on a library I could use to accomplish this if there isn’t a way to do this with Babylon.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [April 19, 2021, 9:18pm UTC](https://forum.babylonjs.com/t/how-can-i-pick-only-specific-parts-of-information-from-the-inspector-tab/20134/2 "2021-04-19T21:18:53Z")

</div>

> [@TechFlier](#):
>
> Hi, I’m new to this website so please forgive me in advance if I’m violating any site rules and such

Welcome and honestly we do not have a lot besides being polite and respectful 🙂

You can probably get inspired by the inspector code about meshes:  
[Babylon.js/meshPropertyGridComponent.tsx at master · BabylonJS/Babylon.js (github.com)](https://github.com/BabylonJS/Babylon.js/blob/master/inspector/src/components/actionTabs/tabs/propertyGrids/meshes/meshPropertyGridComponent.tsx#L401)

---

<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:** [April 20, 2021, 6:10am UTC](https://forum.babylonjs.com/t/how-can-i-pick-only-specific-parts-of-information-from-the-inspector-tab/20134/3 "2021-04-20T06:10:50Z")

</div>

Hello and welcome!

It is possible to get and use all information and values which are shown in the Inspector. Sometimes it is just a line of code, sometimes one needs to write a simple function.  
As for the vertex count - here is the example: [Babylon.js Playground](https://playground.babylonjs.com/#ASE7CL)  
Material count is as simple as `scene.materials.length`

---

<div class="post-metadata">

**Author:** ![TechFlier](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/techflier/32/15655_2.png) [@TechFlier](https://forum.babylonjs.com/u/TechFlier)\
**Post date:** [April 20, 2021, 9:39pm UTC](https://forum.babylonjs.com/t/how-can-i-pick-only-specific-parts-of-information-from-the-inspector-tab/20134/4 "2021-04-20T21:39:02Z")

</div>

Thank you! And I certainly shall be, I will check this out for sure.

---

<div class="post-metadata">

**Author:** ![TechFlier](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/techflier/32/15655_2.png) [@TechFlier](https://forum.babylonjs.com/u/TechFlier)\
**Post date:** [April 20, 2021, 9:39pm UTC](https://forum.babylonjs.com/t/how-can-i-pick-only-specific-parts-of-information-from-the-inspector-tab/20134/5 "2021-04-20T21:39:41Z")

</div>

Thank you! I see how that works, I can’t believe I missed it!
