Make an object keep moving using transform.position

This is probably such a dumb question and I have probably looked over somthing obvious but when I press the left arow key it only moves like 10 pixles over and does not continue to move to the right.

`public class BulletController : MonoBehaviour
{
public float moveSpeed;

private void Update()
{
    if (Input.GetKeyDown(KeyCode.RightArrow))
    {
        transform.Translate(Vector3.right * moveSpeed * Time.deltaTime);
    }
}

}

Input.GetKeyDown event is called once when you press your key down. So in your code, gameObject will move each time you press a key. To make it move each frame when key is pressed, use Input.GetKey(KeyCode.RightArrow)(Input.GetKey()) instead.