How to code WASD controls and other elements?

Hello, I was just wondering how I would go about making WASD controls for a first-person game. I am not very knowledgeable on this subject. What I want to do:
-WASD for forward, backwards, and left to right
-Have the camera move with the mouse
Link to editor: Link

Hi @GameQuest,

Check the following tutorial:

https://developer.playcanvas.com/en/tutorials/first-person-movement/

1 Like

Thank You!

1 Like