how to move a gameobject
public static int movespeed = 3;
public Vector3 userDirection = Vector3.down; //You can change this to any direction
void Update()
{
transform.Translate(userDirection * movespeed * Time.deltaTime);
}