# Moving object with arrow keys, using Controls library?

**URL:** <https://discourse.threejs.org/t/moving-object-with-arrow-keys-using-controls-library/74499>\
**Category:** Questions\
**Created:** [November 27, 2024, 11:17pm UTC](https://discourse.threejs.org/t/moving-object-with-arrow-keys-using-controls-library/74499 "2024-11-27T23:17:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mimatila](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mimatila/32/52578_2.png) [@mimatila](https://discourse.threejs.org/u/mimatila)\
**Post date:** [November 27, 2024, 11:17pm UTC](https://discourse.threejs.org/t/moving-object-with-arrow-keys-using-controls-library/74499/1 "2024-11-27T23:17:30Z")

</div>

Hello, im new for this three.js. Just wondering is there library made for moving object with arroew keys(cube or whatever) on scene? There is Controls library but keys setup is empty.  
I know that can make with javascript event listener and add key actions there but would expect to be ready made library for this basic setup?

---

<div class="post-metadata">

**Author:** ![drcmda](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@drcmda](https://discourse.threejs.org/u/drcmda)\
**Post date:** [November 28, 2024, 8:14am UTC](https://discourse.threejs.org/t/moving-object-with-arrow-keys-using-controls-library/74499/2 "2024-11-28T08:14:40Z")

</div>

there’s one built into drei, keyboard-controls. it’s like orbit-controls but with keys.

threejs-journey [https://threejs-journey.com](https://threejs-journey.com) has a full lesson using it for a game [Create a game with R3F — Three.js Journey](https://threejs-journey.com/lessons/create-a-game-with-r3f)
