How to move a mesh on click?

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

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.

Hello and welcome!
here we are: Babylon.js Playground

1 Like

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

1 Like

That is magic! Thank you so much! :slight_smile: I’ll post it on Reddit now :smile:

1 Like