Why is it not reading my 'moveVector'?

Hi, I am new to Unity but I was following a tutorial online and I’ve copied his script exactly the same, yet his works and mine is broken with the “Unexpected symbol ‘moveVector’ error message”.

Sorry I couldn’t figure out how to import my script correctly, so it is in the attached picture.

Any ideas? Thanks in advance!

I typed up your code and I have no error on my end. What does the error message say exactly?

1 Answer

1

Haha wow, it’s always something so simple…Thank you guys!