# Gizmos onDragObservable - outdated docs

**URL:** <https://forum.babylonjs.com/t/gizmos-ondragobservable-outdated-docs/44455>\
**Category:** Questions\
**Tags:** documentation\
**Created:** [September 25, 2023, 12:26pm UTC](https://forum.babylonjs.com/t/gizmos-ondragobservable-outdated-docs/44455 "2023-09-25T12:26:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![MeshSlayer](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@MeshSlayer](https://forum.babylonjs.com/u/MeshSlayer)\
**Post date:** [September 25, 2023, 12:26pm UTC](https://forum.babylonjs.com/t/gizmos-ondragobservable-outdated-docs/44455/1 "2023-09-25T12:26:24Z")

</div>

Hey Community

I’ve been trying to integrate gizmos for my project, I needed to use the onDragObservable as mentioned in the docs and to my surprise it appears that it’s no longer available. Is there a way to track the onDrag behaviour ?

if so, we need to update the docs then

> **[Gizmos | Babylon.js Documentation](https://doc.babylonjs.com/features/featuresDeepDive/mesh/gizmo#position-scale-and-rotation-gizmos)**
>
> Learn about gizmos in Babylon.js.

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [September 25, 2023, 12:27pm UTC](https://forum.babylonjs.com/t/gizmos-ondragobservable-outdated-docs/44455/2 "2023-09-25T12:27:16Z")

</div>

cc @Cedric

---

<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:** [September 25, 2023, 12:40pm UTC](https://forum.babylonjs.com/t/gizmos-ondragobservable-outdated-docs/44455/3 "2023-09-25T12:40:09Z")

</div>

Indeed, it should work like the documentation

There is a workaround : [Babylon.js Playground](https://playground.babylonjs.com/#P8HUS6)

I’ll fix it this week.

---

<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:** [September 25, 2023, 12:40pm UTC](https://forum.babylonjs.com/t/gizmos-ondragobservable-outdated-docs/44455/4 "2023-09-25T12:40:13Z")

</div>

Assigned @Cedric on September 25, 2023, 12:40pm UTC



---

<div class="post-metadata">

**Author:** ![MeshSlayer](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@MeshSlayer](https://forum.babylonjs.com/u/MeshSlayer)\
**Post date:** [September 25, 2023, 12:48pm UTC](https://forum.babylonjs.com/t/gizmos-ondragobservable-outdated-docs/44455/5 "2023-09-25T12:48:04Z")

</div>

Thanks @Cedric !

and yes I’m currently using the onDragObservable on each axis (which is such a pain to configure each axis on every gizmo type 😛 )

looking forward for your fix 😁

---

<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:** [September 28, 2023, 8:18am UTC](https://forum.babylonjs.com/t/gizmos-ondragobservable-outdated-docs/44455/6 "2023-09-28T08:18:58Z")

</div>

I’ve spent more time reading the doc. Actually, it’s right. the onDragObservable is for axis drag and scale gizmo.  
This said, I’ve added the observable on position/rotation/scale gizmos to be consistent

> <https://github.com/BabylonJS/Babylon.js/pull/14365>
>
> fixes for :
> \- https://forum.babylonjs.com/t/gizmos-ondragobservable-outdated-do…cs/44455

---

<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:** [September 28, 2023, 8:19am UTC](https://forum.babylonjs.com/t/gizmos-ondragobservable-outdated-docs/44455/7 "2023-09-28T08:19:02Z")

</div>

Unassigned @Cedric on September 28, 2023, 8:19am UTC



---

<div class="post-metadata">

**Author:** ![MeshSlayer](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@MeshSlayer](https://forum.babylonjs.com/u/MeshSlayer)\
**Post date:** [September 28, 2023, 8:33am UTC](https://forum.babylonjs.com/t/gizmos-ondragobservable-outdated-docs/44455/8 "2023-09-28T08:33:42Z")

</div>

awesome ! Thanks @Cedric
