# Gizmos check collisions on position change

**URL:** <https://forum.babylonjs.com/t/gizmos-check-collisions-on-position-change/20208>\
**Category:** Questions\
**Tags:** gizmo\
**Created:** [April 22, 2021, 3:17am UTC](https://forum.babylonjs.com/t/gizmos-check-collisions-on-position-change/20208 "2021-04-22T03:17:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![danya\_rnd](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/danya_rnd/32/26493_2.png) [@danya\_rnd](https://forum.babylonjs.com/u/danya_rnd)\
**Post date:** [April 22, 2021, 3:17am UTC](https://forum.babylonjs.com/t/gizmos-check-collisions-on-position-change/20208/1 "2021-04-22T03:17:02Z")

</div>

Hello! I am importing babylon models to my project and need to check collision between them on drag move. Please, can you explain me how to do this? I will be very glad if someone helps me:)

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [April 22, 2021, 4:45pm UTC](https://forum.babylonjs.com/t/gizmos-check-collisions-on-position-change/20208/2 "2021-04-22T16:45:46Z")

</div>

Welcome to the forums!

Can you share a playground of what you have so far?

---

<div class="post-metadata">

**Author:** ![danya\_rnd](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/danya_rnd/32/26493_2.png) [@danya\_rnd](https://forum.babylonjs.com/u/danya_rnd)\
**Post date:** [April 27, 2021, 4:19am UTC](https://forum.babylonjs.com/t/gizmos-check-collisions-on-position-change/20208/3 "2021-04-27T04:19:00Z")

</div>

Hello. I am using gizmoManager for object position control. And need to check collisions on drag move.  
This is my playground: [Babylon.js Playground](https://playground.babylonjs.com/#MWRQ5Z)

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [May 14, 2021, 7:17pm UTC](https://forum.babylonjs.com/t/gizmos-check-collisions-on-position-change/20208/5 "2021-05-14T19:17:00Z")

</div>

Sorry, I must have missed the reply before. @RaananW Do you know how to set this up?

---

<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:** [May 17, 2021, 8:17am UTC](https://forum.babylonjs.com/t/gizmos-check-collisions-on-position-change/20208/6 "2021-05-17T08:17:49Z")

</div>

That’s an interesting one.  
Currently we don’t check for collisions when using the gizmos. To check for collisions we will need to integrate the collider in the move function. Should be a nice feature to add! But it is not that simple at the current state

---

<div class="post-metadata">

**Author:** ![danya\_rnd](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/danya_rnd/32/26493_2.png) [@danya\_rnd](https://forum.babylonjs.com/u/danya_rnd)\
**Post date:** [May 17, 2021, 11:44am UTC](https://forum.babylonjs.com/t/gizmos-check-collisions-on-position-change/20208/7 "2021-05-17T11:44:18Z")

</div>

Can u explain me where I need to integrate it? I will try to do it myself. Or may be I can change dragbehaviour for gizmos?

---

<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:** [May 17, 2021, 3:47pm UTC](https://forum.babylonjs.com/t/gizmos-check-collisions-on-position-change/20208/8 "2021-05-17T15:47:58Z")

</div>

You can look at how the camera movement is working with the collider (the collideWithWorld function would be a great starting point), and how moveWithCollision works (in mesh).
