Really easy question about movement?

Hello,

I’m looking for something that sounds really easy, but I just can’t find it anywhere… (Maybe because it’s so easy?)
Anyway, I have a sphere, and I want it to move forward when I press W and have it stop moving if I release W.
Is there any other way to do this WITHOUT using the fps controller or3rd person controller?

EDIT

The reason I want to know this is because I need other controls than the basic ones in the fps. It also has to do other stuff, and I need more than the fps controller has. You get what I mean :stuck_out_tongue:

The most simple form of forward movement:

public float forwardSpeed = 1.0f;

void Update() {
	if (Input.GetKey("w")) {
		transform.Translate(transform.forward * Time.deltaTime * forwardSpeed);
	}
}

Unity - Scripting API: Transform.Translate

Oh… thanks xD