I am very much new to this three.js. I want to create two cubes. I am least interested in its animation. So, i want cube 1 to move towards cube 2 without any keyboard inputs. I am also providing image for better understanding.

Thanks in advance

![enter image description here](https://i.stack.imgur.com/Z9QjH.png)