# Instantiate mesh from AbstractMesh

**URL:** <https://forum.babylonjs.com/t/instantiate-mesh-from-abstractmesh/18347>\
**Category:** Questions\
**Created:** [February 11, 2021, 7:03am UTC](https://forum.babylonjs.com/t/instantiate-mesh-from-abstractmesh/18347 "2021-02-11T07:03:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![klee](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/klee/32/13001_2.png) [@klee](https://forum.babylonjs.com/u/klee)\
**Post date:** [February 11, 2021, 7:03am UTC](https://forum.babylonjs.com/t/instantiate-mesh-from-abstractmesh/18347/1 "2021-02-11T07:03:55Z")

</div>

Hello, I’m trying to load my mesh from assetsManager. I’ve tried to study this playground: [Babylon.js Playground](https://www.babylonjs-playground.com/#SAFTNA). But I want to implement it in different class on my game. How can I instantiate mesh which rootUrl and file name contains in the abstractMesh? using importMesh is impossible because the rootUrl and file name are on different parameter.

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [February 11, 2021, 12:51pm UTC](https://forum.babylonjs.com/t/instantiate-mesh-from-abstractmesh/18347/2 "2021-02-11T12:51:58Z")

</div>

I don’t understand what your problem is…

What does not work for you in the provided PG? Maybe you can provide a PG that does not work as expected so we can try to fix it?

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [February 11, 2021, 11:04pm UTC](https://forum.babylonjs.com/t/instantiate-mesh-from-abstractmesh/18347/3 "2021-02-11T23:04:11Z")

</div>

I’m not sure I understand the question either, but maybe [asset containers](https://doc.babylonjs.com/divingDeeper/importers/assetContainers) will help? You can call instantiateModelsToScene to [duplicate](https://doc.babylonjs.com/divingDeeper/importers/assetContainers#duplicating-the-models) them.
