Problem with 2D game encoding in unity with Visual Studio Community

Hi please I need help with a scrip in c # because I try to put a used Vector2 next to the .left and another with .right but I get a Vector error I need help please thanks

You may be lacking the correct using statement. Up at the top of your c# file, add “using UnityEngine;” and that should fix it. If that doesn’t fix it, it would be helpful to see that error. You do not want “using System.Numerics;” - that’s the wrong Vector2.