# How to move a mesh on click?

**URL:** <https://forum.babylonjs.com/t/how-to-move-a-mesh-on-click/1386>\
**Category:** Questions\
**Created:** [February 14, 2019, 3:07pm UTC](https://forum.babylonjs.com/t/how-to-move-a-mesh-on-click/1386 "2019-02-14T15:07:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PatienceAllergy](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/patienceallergy/32/768_2.png) [@PatienceAllergy](https://forum.babylonjs.com/u/PatienceAllergy)\
**Post date:** [February 14, 2019, 3:07pm UTC](https://forum.babylonjs.com/t/how-to-move-a-mesh-on-click/1386/1 "2019-02-14T15:07:46Z")

</div>

Hi there, I put this question on Reddit too, but maybe this forum is where I should have started…

I’m getting lost in Actions described here: [Use Actions - Babylon.js Documentation](https://doc.babylonjs.com/how_to/how_to_use_actions)

All I want to do is move a mesh to a new location, once clicked.

An example could be, in a game, you have a chest of drawers, you click on a drawer, and the drawer opens to reveal it’s contents.

I’d love an example of something as simple as moving a cube to a new location once clicked.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [February 14, 2019, 3:11pm UTC](https://forum.babylonjs.com/t/how-to-move-a-mesh-on-click/1386/2 "2019-02-14T15:11:01Z")

</div>

Hello and welcome!  
here we are: [Babylon.js Playground](https://www.babylonjs-playground.com/#KQX0WU)

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [February 14, 2019, 3:11pm UTC](https://forum.babylonjs.com/t/how-to-move-a-mesh-on-click/1386/3 "2019-02-14T15:11:22Z")

</div>

The price for this info is to update your initial reddit post ;D

---

<div class="post-metadata">

**Author:** ![PatienceAllergy](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/patienceallergy/32/768_2.png) [@PatienceAllergy](https://forum.babylonjs.com/u/PatienceAllergy)\
**Post date:** [February 14, 2019, 3:14pm UTC](https://forum.babylonjs.com/t/how-to-move-a-mesh-on-click/1386/4 "2019-02-14T15:14:26Z")

</div>

That is magic! Thank you so much! 🙂 I’ll post it on Reddit now 😄
