[SOLVED] New and confused

I’m kinda new to coding and my friend recommend me this to star out and i know what to do when coding comes but the code i learn is different like this is the movement code i know

if(app.keyboard.wasPressed(pc.KEY_W)){
        this.entity.translateLocal(0.01,0,0);

but in this it doesn’t work it tells me it doent work… any tips?
09%20PM

Try doing this.app.keyboard instead of app.keyboard. Should work.

2 Likes