# How to move object by another object's world position

**URL:** <https://discourse.threejs.org/t/how-to-move-object-by-another-objects-world-position/16514>\
**Category:** Questions\
**Tags:** transform\
**Created:** [June 24, 2020, 6:15am UTC](https://discourse.threejs.org/t/how-to-move-object-by-another-objects-world-position/16514 "2020-06-24T06:15:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kamaljeet\_Singh](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/kamaljeet_singh/32/7918_2.png) [@Kamaljeet\_Singh](https://discourse.threejs.org/u/Kamaljeet_Singh)\
**Post date:** [June 24, 2020, 6:15am UTC](https://discourse.threejs.org/t/how-to-move-object-by-another-objects-world-position/16514/1 "2020-06-24T06:15:14Z")

</div>

i want to move door when i increase Length of house  
Please help me out

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/c/cfb3559736903c7622b7fcf4836e8bde771a2848.png)  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/1/111cdaa09aff262c0b7114db8d7d854285cbcf25.png)

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [June 24, 2020, 9:18am UTC](https://discourse.threejs.org/t/how-to-move-object-by-another-objects-world-position/16514/2 "2020-06-24T09:18:08Z")

</div>

Let’s assume the door is a child object of the house. If you scale the house along a certain axis, it should also affect all child objects.

Can you please demonstrate with a live example how this looks in your case? [https://jsfiddle.net/hyok6tvj/](https://jsfiddle.net/hyok6tvj/)
