Javascript for Character Controller

Im new to unity and i’m not sure how to make my character move in a certain way with js: i want my character to continue to go forwards, backwards, left, or right when each key is pressed. In other words, when the left key is pressed, the character will keep a steady speed going to the left. Can anyone help me write this in javascript?

Hey! I would recommend checking some of these things out to get you started!:




There is a ton of documentation on this.

Check out the UnifyWiki, where you will find a bunch of example character controller scripts.