Error CS1729 Problem

I was working on unity and when I clicked play to check the idle animation for the player prefab to loop and pressed play and an error pops up saying “error CS1729: The type UnityEngine.Vector3’ does not contain a constructor that takes ‘1’ arguments” if anyone has a solution to this problem please give me an answer

movement = new Vector3 ("moveHorizontal, 0.0f, moveVertical");

Thanks!

It should be

movement = new Vector3 (moveHorizontal, 0.0f, moveVertical);

, assuming moveHorizontal and moveVertical are existing variables.

The contructor expects 3 numeric parameters - you gave it one string.

You might want to check out some basic Unity/C#-Tutorials.