# glTF: accessing meshes from an imported scene

**URL:** <https://discourse.threejs.org/t/gltf-accessing-meshes-from-an-imported-scene/1845>\
**Category:** Questions\
**Tags:** gltf-loader\
**Created:** [February 14, 2018, 6:25am UTC](https://discourse.threejs.org/t/gltf-accessing-meshes-from-an-imported-scene/1845 "2018-02-14T06:25:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@eric](https://discourse.threejs.org/u/eric)\
**Post date:** [February 14, 2018, 6:25am UTC](https://discourse.threejs.org/t/gltf-accessing-meshes-from-an-imported-scene/1845/1 "2018-02-14T06:25:04Z")

</div>

Hello,

I know how the import glTF scene but I’m lost when trying to access selected meshes from this scene. I could not find where it is explained. How can I list all imported objects in the glTF scene and/or select just one of them.

Thank you.

---

<div class="post-metadata">

**Author:** ![Fyrestar](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/fyrestar/32/52793_2.png) [@Fyrestar](https://discourse.threejs.org/u/Fyrestar)\
**Post date:** [February 14, 2018, 6:50am UTC](https://discourse.threejs.org/t/gltf-accessing-meshes-from-an-imported-scene/1845/2 "2018-02-14T06:50:18Z")

</div>

I can’t tell much about the gltf loader, if the result is a scene object, you can either use this as your scene right away or loop through the children and add them to another object.

---

<div class="post-metadata">

**Author:** ![calrk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/calrk/32/2746_2.png) [@calrk](https://discourse.threejs.org/u/calrk)\
**Post date:** [February 14, 2018, 6:50am UTC](https://discourse.threejs.org/t/gltf-accessing-meshes-from-an-imported-scene/1845/3 "2018-02-14T06:50:30Z")

</div>

You can traverse through the list of children objects in the loaded scene using the traverse function below.

```auto
GLTFLoader.load(src, function(gltfModel) {

  gltfModel.scene.traverse(function (child) {
    
    console.log(child);

  });

});

```

---

<div class="post-metadata">

**Author:** ![eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@eric](https://discourse.threejs.org/u/eric)\
**Post date:** [February 14, 2018, 7:46pm UTC](https://discourse.threejs.org/t/gltf-accessing-meshes-from-an-imported-scene/1845/4 "2018-02-14T19:46:39Z")

</div>

Thank both of you, Very helpful!
