problem in vector3

i am getting an error that i dont understand " Expression denotes a ‘type’, where a ‘variable’,'value’or ‘method group’ was expected

moveDirection = Vector3(0,0,Input.GetAxis("Vertical"));

You forgot the “new” keyword:

moveDirection = new Vector3(0,0,Input.GetAxis(“Vertical”));