Im using the x axis but the cube is on the Y axis. plz halp

so for some reason my cube is on the y axis but its supposed to be on the x axis.
here’s my code:
MainCharacterScript.prototype.update = function(dt) {
var W = this.app.keyboard.isPressed(pc.KEY_W);
if (W) {
this.entity.translateLocal(0,0,0.1);
}
var S = this.app.keyboard.isPressed(pc.KEY_S);
if (S) {
this.entity.translateLocal(0,0,-0.1);
}
var A = this.app.keyboard.isPressed(pc.KEY_A);
if (A) {
this.entity.translateLocal(-0.1,0,0);
this.entity.rotate(-0.1,0,0);
}
var D = this.app.keyboard.isPressed(pc.KEY_D);
if (D) {
this.entity.translateLocal(0.1,0,0);
this.entity.rotate(0.1,0,0);
}
};

Hello @vilothaine_2! With which keys?