# What is the difference between attachedMesh and attachedNode?

**URL:** <https://forum.babylonjs.com/t/what-is-the-difference-between-attachedmesh-and-attachednode/29161>\
**Category:** Questions\
**Tags:** gizmo\
**Created:** [April 8, 2022, 2:40am UTC](https://forum.babylonjs.com/t/what-is-the-difference-between-attachedmesh-and-attachednode/29161 "2022-04-08T02:40:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aze](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/aze/32/23050_2.png) [@Aze](https://forum.babylonjs.com/u/Aze)\
**Post date:** [April 8, 2022, 2:40am UTC](https://forum.babylonjs.com/t/what-is-the-difference-between-attachedmesh-and-attachednode/29161/1 "2022-04-08T02:40:13Z")

</div>

I read the gizmo \_update method，it seems like no different.

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [April 8, 2022, 11:00am UTC](https://forum.babylonjs.com/t/what-is-the-difference-between-attachedmesh-and-attachednode/29161/2 "2022-04-08T11:00:23Z")

</div>

Hello! It seems like initially there was only support for meshes, then support for nodes was added later, but the attachedMesh property is kept for back-compatibility. [Gizmo Node support by CedricGuillemet · Pull Request #8540 · BabylonJS/Babylon.js (github.com)](https://github.com/BabylonJS/Babylon.js/pull/8540) 🙂  
@RaananW should we mark attachedMesh as deprecated so we can move it into LTS later? 🤔

---

<div class="post-metadata">

**Author:** ![Aze](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/aze/32/23050_2.png) [@Aze](https://forum.babylonjs.com/u/Aze)\
**Post date:** [April 11, 2022, 2:04am UTC](https://forum.babylonjs.com/t/what-is-the-difference-between-attachedmesh-and-attachednode/29161/3 "2022-04-11T02:04:47Z")

</div>

I agree that mark attachedMesh as deprecated.On the other hand,attachedMesh and attachedNode are different.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/8/c/8c743039236570da0d4f87a2afd94fc3a4fca84f.png)  
We had better review the code with attachedMesh prop. 😄

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [April 11, 2022, 10:11am UTC](https://forum.babylonjs.com/t/what-is-the-difference-between-attachedmesh-and-attachednode/29161/4 "2022-04-11T10:11:58Z")

</div>

That is a good catch 🙂

---

<div class="post-metadata">

**Author:** ![Aze](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/aze/32/23050_2.png) [@Aze](https://forum.babylonjs.com/u/Aze)\
**Post date:** [April 12, 2022, 7:34am UTC](https://forum.babylonjs.com/t/what-is-the-difference-between-attachedmesh-and-attachednode/29161/6 "2022-04-12T07:34:16Z")

</div>

I remenber that there are more than one place should fix.Or we can global lookup this.  
Thanks for your hard work.
