# How to import meshes (GLB) for later use?

**URL:** <https://forum.babylonjs.com/t/how-to-import-meshes-glb-for-later-use/42362>\
**Category:** Questions\
**Tags:** sceneloader\
**Created:** [July 12, 2023, 10:34am UTC](https://forum.babylonjs.com/t/how-to-import-meshes-glb-for-later-use/42362 "2023-07-12T10:34:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![saricden](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/saricden/32/33560_2.png) [@saricden](https://forum.babylonjs.com/u/saricden)\
**Post date:** [July 12, 2023, 10:34am UTC](https://forum.babylonjs.com/t/how-to-import-meshes-glb-for-later-use/42362/1 "2023-07-12T10:34:09Z")

</div>

Hi all,

I’m attempting to build a preloading system for my game where I would like to load all my models (GLB) up front and display a loading bar while doing so.

The thing is, the only code I’ve been able to get working will load the mesh and immediately place it in my scene. For example:

```ts
await SceneLoader.ImportMeshAsync('', filepath, filename, scene);

```

What I want is to load my models _ **before creating my scene** _, and then assemble my game world by _ **creating clones of the originally loaded assets** _ and positioning them according to my map data (I will have many repeat models, such as trees and rocks).

Is this possible? Or am I approaching this all wrong?

I’m new to Babylon.js, it’s amazing and I appreciate any and all advice shared.

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [July 12, 2023, 1:49pm UTC](https://forum.babylonjs.com/t/how-to-import-meshes-glb-for-later-use/42362/2 "2023-07-12T13:49:04Z")

</div>

Oh, we have the assets container that could be helpful here - [Asset Containers | Babylon.js Documentation (babylonjs.com)](https://doc.babylonjs.com/features/featuresDeepDive/importers/assetContainers)

It is still attached to a specific scene, but you decide how and when to add assets to your scene.

---

<div class="post-metadata">

**Author:** ![saricden](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/saricden/32/33560_2.png) [@saricden](https://forum.babylonjs.com/u/saricden)\
**Post date:** [July 12, 2023, 1:49pm UTC](https://forum.babylonjs.com/t/how-to-import-meshes-glb-for-later-use/42362/3 "2023-07-12T13:49:59Z")

</div>

Amazing! You’re a lifesaver, I’ll take a dive into this shortly and report back if it works for me 😃

---

<div class="post-metadata">

**Author:** ![saricden](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/saricden/32/33560_2.png) [@saricden](https://forum.babylonjs.com/u/saricden)\
**Post date:** [July 12, 2023, 3:23pm UTC](https://forum.babylonjs.com/t/how-to-import-meshes-glb-for-later-use/42362/4 "2023-07-12T15:23:02Z")

</div>

It works!! Thank you so much @RaananW 🙏

 ![Screenshot 2023-07-12 at 8.22.21 AM](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/9/f/9ff76879ecc4402840d8aab9e4afbac1db597f6e.jpeg)
