# How can I add a custom mesh(let's say Cube) in the exact same position as of a particular object in a GLTF model?

**URL:** <https://discourse.threejs.org/t/how-can-i-add-a-custom-mesh-lets-say-cube-in-the-exact-same-position-as-of-a-particular-object-in-a-gltf-model/41330>\
**Category:** Questions\
**Tags:** positioning, model, gltf, geometry\
**Created:** [August 11, 2022, 6:39pm UTC](https://discourse.threejs.org/t/how-can-i-add-a-custom-mesh-lets-say-cube-in-the-exact-same-position-as-of-a-particular-object-in-a-gltf-model/41330 "2022-08-11T18:39:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kreysix](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/kreysix/32/28203_2.png) [@kreysix](https://discourse.threejs.org/u/kreysix)\
**Post date:** [August 11, 2022, 6:39pm UTC](https://discourse.threejs.org/t/how-can-i-add-a-custom-mesh-lets-say-cube-in-the-exact-same-position-as-of-a-particular-object-in-a-gltf-model/41330/1 "2022-08-11T18:39:08Z")

</div>

I have a room GLTF model. Now I want to add my own object in the position of the chair (present in room model).

---

<div class="post-metadata">

**Author:** ![anidivr](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/anidivr/32/32924_2.png) [@anidivr](https://discourse.threejs.org/u/anidivr)\
**Post date:** [August 11, 2022, 10:51pm UTC](https://discourse.threejs.org/t/how-can-i-add-a-custom-mesh-lets-say-cube-in-the-exact-same-position-as-of-a-particular-object-in-a-gltf-model/41330/2 "2022-08-11T22:51:12Z")

</div>

If the chair has a name, you can search for this in the scene. Once you have the object, you can create the cube by copying the objects position.

---

<div class="post-metadata">

**Author:** ![kreysix](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/kreysix/32/28203_2.png) [@kreysix](https://discourse.threejs.org/u/kreysix)\
**Post date:** [August 12, 2022, 5:11am UTC](https://discourse.threejs.org/t/how-can-i-add-a-custom-mesh-lets-say-cube-in-the-exact-same-position-as-of-a-particular-object-in-a-gltf-model/41330/3 "2022-08-12T05:11:55Z")

</div>

@anidivr It’s not working as expected if i just copy the position of the chair to the object.  
When I animate that object further it starts from origin (0,0,0)

---

<div class="post-metadata">

**Author:** ![anidivr](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/anidivr/32/32924_2.png) [@anidivr](https://discourse.threejs.org/u/anidivr)\
**Post date:** [August 12, 2022, 12:37pm UTC](https://discourse.threejs.org/t/how-can-i-add-a-custom-mesh-lets-say-cube-in-the-exact-same-position-as-of-a-particular-object-in-a-gltf-model/41330/4 "2022-08-12T12:37:33Z")

</div>

My guess is the chairs position is is relative to the parent at (0,0,0). You probably need to get world position of the chair and using that vector3
