CS1002 means the compiler detected a missing semicolon somewhere in your code.
In your case, you’re missing a ;
after moveInput = NewMethod()
.
Please use Code tags next time and describe what error you exactly get at which line. The Console
helps a lot.
.