Keyboard input doesn't work

Hi, I am experimenting on the codes using keyboard input.

This program shows the green cube with lightning. I am trying to move the camera but only Z axis can be moved


WASD = moving the camera( Can’t move X axis)
Arraws = Rotating the object

Have you tried swapping the WS and AD around?

Since W and S input response works, try, swapping the code around, so the W and S control the X axis, and A and D control the Z axis.

Let me know,