# \#drag

**URL:** https://forum.babylonjs.com/tag/drag/251.md

[Latest](https://forum.babylonjs.com/latest.md) · [Categories](https://forum.babylonjs.com/categories.md) · [Tags](https://forum.babylonjs.com/tags.md)

---

## [Collisions when drag&drop with PointerDragBehavior](https://forum.babylonjs.com/t/collisions-when-drag-drop-with-pointerdragbehavior/59714)

<div class="topic-metadata">

**Author:** [@paleRider](https://forum.babylonjs.com/u/paleRider)\
**Replies:** 1\
**Last updated:** [July 24, 2025, 6:04pm UTC](https://forum.babylonjs.com/t/collisions-when-drag-drop-with-pointerdragbehavior/59714 "2025-07-24T18:04:30Z")

</div>

Hi everybody! I’m just trying to have a simple scene running, with drag&drop plus not meshes overlapping. You can see a PG here. Please, note that I’m using here the PointerDragBehavior functionality instead of the mor…

---

## [Recursion error on clicking when there are two meshes directly under pointer](https://forum.babylonjs.com/t/recursion-error-on-clicking-when-there-are-two-meshes-directly-under-pointer/56383)

<div class="topic-metadata">

**Author:** [@Jon\_Jekeli](https://forum.babylonjs.com/u/Jon_Jekeli)\
**Replies:** 4\
**Last updated:** [February 6, 2025, 1:18am UTC](https://forum.babylonjs.com/t/recursion-error-on-clicking-when-there-are-two-meshes-directly-under-pointer/56383 "2025-02-06T01:18:20Z")

</div>

I have tried desperately to reproduce the exact series of events that lead to this outside our application, but I have been unable to. However, i can tell you what is happening from a code standpoint. We are using a num…

---

## [PointerDragBehavior moving meshes with onDragObservable](https://forum.babylonjs.com/t/pointerdragbehavior-moving-meshes-with-ondragobservable/54250)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 8\
**Last updated:** [October 21, 2024, 6:40pm UTC](https://forum.babylonjs.com/t/pointerdragbehavior-moving-meshes-with-ondragobservable/54250 "2024-10-21T18:40:43Z")

</div>

Version: 7.30.0 Engine: WebGL2 Playground: Babylon.js Playground Description: I’m trying to move 2 meshes via PointerDragBehavior, so I attached PointerDragBehavior to one mesh (sphere), and move anther mesh (followi…

---

## [Havok: Incorrect scaling of mesh when dragging with constraint](https://forum.babylonjs.com/t/havok-incorrect-scaling-of-mesh-when-dragging-with-constraint/50113)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 7\
**Last updated:** [May 15, 2024, 8:52am UTC](https://forum.babylonjs.com/t/havok-incorrect-scaling-of-mesh-when-dragging-with-constraint/50113 "2024-05-15T08:52:18Z")

</div>

OS: Windows 10 Browser: Chromium and Firefox Playground: Desc: I’m trying to drag a mesh with physics enabled with constraint, to make dragging more natural, but when the mesh being dragged, the scaling of meshes goe…

---

## [Is it possible to remove scaling and rotation from sixDofDrag entirely?](https://forum.babylonjs.com/t/is-it-possible-to-remove-scaling-and-rotation-from-sixdofdrag-entirely/48752)

<div class="topic-metadata">

**Author:** [@Corazone777](https://forum.babylonjs.com/u/Corazone777)\
**Replies:** 2\
**Last updated:** [March 14, 2024, 9:46am UTC](https://forum.babylonjs.com/t/is-it-possible-to-remove-scaling-and-rotation-from-sixdofdrag-entirely/48752 "2024-03-14T09:46:15Z")

</div>

Hi all, Due to some issues I have with rotation and scaling with sixd behavior on the phone i was wondering can i change the source code of babylon somehow to remove that. Right now it’s installed with npm, and i tried …

---

## [Strange sixd drag behavior on a model](https://forum.babylonjs.com/t/strange-sixd-drag-behavior-on-a-model/47985)

<div class="topic-metadata">

**Author:** [@Corazone777](https://forum.babylonjs.com/u/Corazone777)\
**Replies:** 6\
**Last updated:** [February 13, 2024, 3:27pm UTC](https://forum.babylonjs.com/t/strange-sixd-drag-behavior-on-a-model/47985 "2024-02-13T15:27:38Z")

</div>

Hi all, The sixd drag is not working correctly if the “root” mesh is given a parent I don’t know how to solve it.

---

## [How to move a physics object with the SixDofDrag?](https://forum.babylonjs.com/t/how-to-move-a-physics-object-with-the-sixdofdrag/47208)

<div class="topic-metadata">

**Author:** [@Corazone777](https://forum.babylonjs.com/u/Corazone777)\
**Replies:** 2\
**Last updated:** [January 16, 2024, 12:09am UTC](https://forum.babylonjs.com/t/how-to-move-a-physics-object-with-the-sixdofdrag/47208 "2024-01-16T00:09:46Z")

</div>

Hi all, I’m trying to drag a physics object with the sixdofdrag but I’m unable to. Do i need to set velocity or some other forces when dealing with the physics objects and drag?

---

## [Strange sixddrag behavior when the parent is normalized to unit cube](https://forum.babylonjs.com/t/strange-sixddrag-behavior-when-the-parent-is-normalized-to-unit-cube/47171)

<div class="topic-metadata">

**Author:** [@Corazone777](https://forum.babylonjs.com/u/Corazone777)\
**Replies:** 2\
**Last updated:** [January 15, 2024, 3:45pm UTC](https://forum.babylonjs.com/t/strange-sixddrag-behavior-when-the-parent-is-normalized-to-unit-cube/47171 "2024-01-15T15:45:10Z")

</div>

Hello everyone, Can someone take a look: Click on the button and try to drag any mesh

---

## [Unselected meshes move alongside the selected mesh](https://forum.babylonjs.com/t/unselected-meshes-move-alongside-the-selected-mesh/46627)

<div class="topic-metadata">

**Author:** [@Corazone777](https://forum.babylonjs.com/u/Corazone777)\
**Replies:** 17\
**Last updated:** [January 5, 2024, 11:25pm UTC](https://forum.babylonjs.com/t/unselected-meshes-move-alongside-the-selected-mesh/46627 "2024-01-05T23:25:48Z")

</div>

Hi all, I have this code: private listenModelDrag() { const selectorBtn = document.getElementById("selectorButton"); let isButtonClicked = false; selectorBtn?.addEventListener("click", () =\> { …

---

## [Dragged physics body is clipping through (Havok)](https://forum.babylonjs.com/t/dragged-physics-body-is-clipping-through-havok/44539)

<div class="topic-metadata">

**Author:** [@waclawi](https://forum.babylonjs.com/u/waclawi)\
**Replies:** 5\
**Last updated:** [October 16, 2023, 8:42pm UTC](https://forum.babylonjs.com/t/dragged-physics-body-is-clipping-through-havok/44539 "2023-10-16T20:42:33Z")

</div>

Hello folks! I am taking my first steps with babylon.js, moving from purely 2D background. The challenge I gave myself is to create a Jenga game. Mostly is it going pretty well but I find one problem that I cannot pass…

---

## [PointerDragBehavior doesn't apply position to physics objects](https://forum.babylonjs.com/t/pointerdragbehavior-doesnt-apply-position-to-physics-objects/40549)

<div class="topic-metadata">

**Author:** [@jamessimo](https://forum.babylonjs.com/u/jamessimo)\
**Replies:** 2\
**Last updated:** [May 9, 2023, 5:21pm UTC](https://forum.babylonjs.com/t/pointerdragbehavior-doesnt-apply-position-to-physics-objects/40549 "2023-05-09T17:21:37Z")

</div>

If you open this PG and drag the ball. You will see the ball does drag but the physics aggregate stays behind. I’m not sure if this is by design or not. I don’t see why it cant apply the dragged pos onto the physics w…

---

## [PointerDragBehaviour to pick selected mesh](https://forum.babylonjs.com/t/pointerdragbehaviour-to-pick-selected-mesh/39285)

<div class="topic-metadata">

**Author:** [@Argha\_Chakraborty](https://forum.babylonjs.com/u/Argha_Chakraborty)\
**Replies:** 3\
**Last updated:** [March 24, 2023, 8:09am UTC](https://forum.babylonjs.com/t/pointerdragbehaviour-to-pick-selected-mesh/39285 "2023-03-24T08:09:59Z")

</div>

I am facing an issue with plane dragging. When the plane that I need to drag, gets inside some mesh, scene picker picks those meshes which the ray is intersecting in the very beginning. Thus when the plane gets trapped…

---

## [Problem with PointerDragBehavior startDrag() method when fired outside Babylon canvas](https://forum.babylonjs.com/t/problem-with-pointerdragbehavior-startdrag-method-when-fired-outside-babylon-canvas/36211)

<div class="topic-metadata">

**Author:** [@Jukka](https://forum.babylonjs.com/u/Jukka)\
**Replies:** 3\
**Last updated:** [December 9, 2022, 2:49am UTC](https://forum.babylonjs.com/t/problem-with-pointerdragbehavior-startdrag-method-when-fired-outside-babylon-canvas/36211 "2022-12-09T02:49:10Z")

</div>

Hi! I have problems when i’m trying to use PointerDragBehavior startDrag() method. I have a web app were I should be able to drag html-element from a page and then drop it to Babylon canvas. Basics works very well but n…
