# Mouse move event has no hit mesh

**URL:** <https://forum.babylonjs.com/t/mouse-move-event-has-no-hit-mesh/9058>\
**Category:** Questions\
**Created:** [March 9, 2020, 2:26am UTC](https://forum.babylonjs.com/t/mouse-move-event-has-no-hit-mesh/9058 "2020-03-09T02:26:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tidus](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@Tidus](https://forum.babylonjs.com/u/Tidus)\
**Post date:** [March 9, 2020, 2:26am UTC](https://forum.babylonjs.com/t/mouse-move-event-has-no-hit-mesh/9058/1 "2020-03-09T02:26:35Z")

</div>

When on POINTERDOWN event , i can get the hit mesh, then keep down and move the mouse, get the BABYLON.PointerEventTypes.POINTERMOVE event but in the event there is no hit mesh.

I am a new 3d programer, and I want to make a magic cube, so i need to drag the box with myself.

Help~

---

<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:** [March 9, 2020, 11:44am UTC](https://forum.babylonjs.com/t/mouse-move-event-has-no-hit-mesh/9058/2 "2020-03-09T11:44:39Z")

</div>

Welcome @Tidus 🙂

I am having a hard time understanding your use case and the issue ☹ Maybe you could create a small playground highlighting your problem and in no time I am sure you ll get help from the community.

---

<div class="post-metadata">

**Author:** ![Mercurio](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mercurio/32/23383_2.png) [@Mercurio](https://forum.babylonjs.com/u/Mercurio)\
**Post date:** [November 26, 2020, 11:27am UTC](https://forum.babylonjs.com/t/mouse-move-event-has-no-hit-mesh/9058/3 "2020-11-26T11:27:13Z")

</div>

HI @sebavan,  
i think he was referring to the fact that, when we catch a POINTERMOVE event, there isn’t a similar property like pickedMesh as for example in POINTERPICK event (the info about picked mesh are correctly null because there is no picked mesh). I’m facing the same: how can i get info about the mesh my pointer is over? PIckInfo.hit is abviously false, and i didn’t see other infos about the mesh over which i’m moving the pointer.

---

<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:** [November 26, 2020, 2:15pm UTC](https://forum.babylonjs.com/t/mouse-move-event-has-no-hit-mesh/9058/4 "2020-11-26T14:15:28Z")

</div>

You could use babylonjs Actions: [Actions | Babylon.js Documentation](https://doc.babylonjs.com/divingDeeper/events/actions)

with OnPointerOverTrigger and OnPointerOutTrigger

---

<div class="post-metadata">

**Author:** ![Mercurio](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mercurio/32/23383_2.png) [@Mercurio](https://forum.babylonjs.com/u/Mercurio)\
**Post date:** [November 26, 2020, 3:06pm UTC](https://forum.babylonjs.com/t/mouse-move-event-has-no-hit-mesh/9058/5 "2020-11-26T15:06:31Z")

</div>

Thank you very much, this is the solution.
