Moving Sphere With Arrows

Hi everybody.
I’m making a script (it’s at the bottom of the comment) which is going to move a Sphere in a soccer field using arrow keys.
How can I write that in the Script?
With some comment in the Script I explain my problem better.
Sorry for my bed English but I’m form Italy.

SCRIPT:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MovBall2Script : MonoBehaviour {
private Rigidbody rigidB;
public int speed = 10;
public int Score;
void Start () {
rigidB = GetComponent();
}

// Update is called once per frame
void Update () {
if(Input.GetKey(“W”)){ \ I want change “W” with “Arrow up”
rigidB.AddForce(Vector3.forward * speed);
}
if(Input.GetKey(“S”)){ \ I want to change “S” with “Arrow Down”
rigidB.AddForce(Vector3.back * speed);
}
if(Input.GetKey(“D”)){ \ I want to change “D” with “Arrow right”
rigidB.AddForce(Vector3.right *speed);
}
if(Input.GetKey(“A”)){ \ I want to change “A” with “Arrow left”
rigidB.AddForce(Vector3.left *speed);
}
}

}

See you soon
-Vipera74

void Update () {
    if (Input.GetKey(KeyCode.UpArrow)) {
        rigidB.AddForce(Vector3.forward * speed);
    }
    if (Input.Getkey(KeyCode.DownArrow)) {
        rigidB.AddForce(Vector3.back * speed);
    }
    if (Input.GetKey(KeyCode.RightArrow)) {
        rigidB.AddForce(Vector3.right *speed);
    }
    if (Input.GetKey(KeyCode.LeftArrow)) {
        rigidB.AddForce(Vector3.left *speed);
    }
}

As you can see from the documentation, GetKey can also take a KeyCode. Here’s a list of the values you can use:

Also next time when you post code, please use code tags so it’s easy to read: Using code tags properly - Unity Engine - Unity Discussions

meri kola kasha meri kola ksha ho ho meri kola ksha ato manaina mo bi pakela mavi mvesh i drop it ato monanashi peraka showere ra un un un un unun un un