How can i increase or decrease camera position when keydown

If I wanted when, lets say W is pressed, I want the z axis only to change either negatively or positively, like ++ in cloning cubes. Please Reply.

Not sure if I understand :sweat_smile: Is keydown Event what you are looking for?

No, like, in games, they have wasd, right? Well, I want the camera to move when i press one of the keys

I think what you´re looking for is pointerLockControls

here and example
https://threejs.org/examples/#misc_controls_pointerlock

and here the documentation
https://threejs.org/docs/index.html?q=PointerLockControls#examples/en/controls/PointerLockControls