# GizmoManager releaseDrag : can't drag anymore after

**URL:** https://forum.babylonjs.com/t/gizmomanager-releasedrag-cant-drag-anymore-after/35289
**Category:** Bugs
**Created:** [October 31, 2022, 4:32pm UTC](https://forum.babylonjs.com/t/gizmomanager-releasedrag-cant-drag-anymore-after/35289 "2022-10-31T16:32:12Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![VerandaLouis](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/verandalouis/32/19395_2.png) [@VerandaLouis](https://forum.babylonjs.com/u/VerandaLouis)
#### Post date: [October 31, 2022, 4:32pm UTC](https://forum.babylonjs.com/t/gizmomanager-releasedrag-cant-drag-anymore-after/35289/1 "2022-10-31T16:32:12Z")

</div>

Hello,

I think there is an issue when a releaseDrag is execute, we can’t drag anymore after that, when we try to start a new drag.

I made the following PG according to what I want to do, you wiil need to drag an axis and press escape to release the drag.

> **[Babylon.js Playground](https://playground.babylonjs.com/#WYUUV8)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<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: [October 31, 2022, 5:39pm UTC](https://forum.babylonjs.com/t/gizmomanager-releasedrag-cant-drag-anymore-after/35289/2 "2022-10-31T17:39:45Z")

</div>

cc @Cedric but please bear with us as he is off for a couple days.

---

<div class="post-metadata">

### Author: ![Happy0Ending](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/happy0ending/32/26835_2.png) [@Happy0Ending](https://forum.babylonjs.com/u/Happy0Ending)
#### Post date: [November 1, 2022, 6:57am UTC](https://forum.babylonjs.com/t/gizmomanager-releasedrag-cant-drag-anymore-after/35289/3 "2022-11-01T06:57:11Z")

</div>

you can drag any after “startDrag()”.

---

<div class="post-metadata">

### Author: ![VerandaLouis](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/verandalouis/32/19395_2.png) [@VerandaLouis](https://forum.babylonjs.com/u/VerandaLouis)
#### Post date: [November 2, 2022, 9:36am UTC](https://forum.babylonjs.com/t/gizmomanager-releasedrag-cant-drag-anymore-after/35289/4 "2022-11-02T09:36:49Z")

</div>

no problem @sebavan 😉

@Happy0Ending I think releaseDrag shouldn’t prevent the next drag events, it should only stop the current drag event. Shouldn’t it ?

---

<div class="post-metadata">

### Author: ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)
#### Post date: [November 14, 2022, 1:33pm UTC](https://forum.babylonjs.com/t/gizmomanager-releasedrag-cant-drag-anymore-after/35289/5 "2022-11-14T13:33:36Z")

</div>

I have a fix for that…incoming PR.

---

<div class="post-metadata">

### Author: ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)
#### Post date: [November 14, 2022, 2:22pm UTC](https://forum.babylonjs.com/t/gizmomanager-releasedrag-cant-drag-anymore-after/35289/6 "2022-11-14T14:22:30Z")

</div>

> <https://github.com/BabylonJS/Babylon.js/pull/13237>
>
> Fixes for :
> 
> https://forum.babylonjs.com/t/positiongizmo-does-not-respect-upda…te-gizmo-position-to-match-attached-mesh/35673/3
> Forward properties \`updateGizmoPositionToMatchAttachedMesh\` and \`updateGizmoRotationToMatchAttachedMesh\` to agregated gizmos. And uses gizmo rootmesh postion for rotation angle computation
> 
> https://forum.babylonjs.com/t/gizmomanager-releasedrag-cant-drag-anymore-after/35289
> \`\_activeDragButton\` was not reset in \`releaseDrag\`. so when calling that method, it was impossible to start a new drag operation after.
