# NME blocks rewired when dragged

**URL:** <https://forum.babylonjs.com/t/nme-blocks-rewired-when-dragged/32864>\
**Category:** Bugs\
**Created:** [August 8, 2022, 9:31pm UTC](https://forum.babylonjs.com/t/nme-blocks-rewired-when-dragged/32864 "2022-08-08T21:31:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blake](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/blake/32/21509_2.png) [@Blake](https://forum.babylonjs.com/u/Blake)\
**Post date:** [August 8, 2022, 9:31pm UTC](https://forum.babylonjs.com/t/nme-blocks-rewired-when-dragged/32864/1 "2022-08-08T21:31:25Z")

</div>

Heya, I’ve stumbled across an NME bug where a block is rewired while I’m just dragging the block. I created a GIF below to show what happens when I drag the Vector Splitter block down a bit in this simple material, but the bug has been hounding me all day in various materials, requiring me to keep fixing/rewiring the blocks.

You can try dragging the Vector Splitter block down until a wire turns yellow, then see if it gets rewired when you let go of the drag.

> **[Babylon.js Node Material Editor](https://nme.babylonjs.com/#YU3YVL)**
>
> Babylon.js Node material editor - shader-based materials editor for Babylon.js

![nme](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/1/8/1816c63f1f9de67031d75fab68cef2b00043c790.gif)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [August 8, 2022, 10:47pm UTC](https://forum.babylonjs.com/t/nme-blocks-rewired-when-dragged/32864/3 "2022-08-08T22:47:12Z")

</div>

@Deltakosh just shipped a new feature for this 🙂 so I ll let him have a look as he understands way more than I do this area.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [August 8, 2022, 10:50pm UTC](https://forum.babylonjs.com/t/nme-blocks-rewired-when-dragged/32864/4 "2022-08-08T22:50:03Z")

</div>

Oh yeah my bad! I need to tests dit the node was not wired before:)

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [August 9, 2022, 12:05am UTC](https://forum.babylonjs.com/t/nme-blocks-rewired-when-dragged/32864/5 "2022-08-09T00:05:26Z")

</div>

Here we are: [Nme fix by deltakosh · Pull Request #12851 · BabylonJS/Babylon.js (github.com)](https://github.com/BabylonJS/Babylon.js/pull/12851)

---

<div class="post-metadata">

**Author:** ![Blake](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/blake/32/21509_2.png) [@Blake](https://forum.babylonjs.com/u/Blake)\
**Post date:** [August 9, 2022, 12:19am UTC](https://forum.babylonjs.com/t/nme-blocks-rewired-when-dragged/32864/6 "2022-08-09T00:19:18Z")

</div>

Hurray, tyvm! 🍻 🙂
