Can anyone fix this VERY easy problem?

So this should we very simple. I am very new to Unity and I am trying to get my cube to move and also be able to change it scale when pressing my key P (Maybe also descale). (The movement is working).

Here is my script:
Code (CSharp):

I am also getting an error telling me “Keyword `void’ cannot be used in this context” and an Unexpected Symbol Error.

-Thanks!

Dont create multiple threads for the same problem.

Youre missing a } before void rotate()

1 Like

Thanks, and sorry. I was becuase I didn’t get a decent answer :slight_smile: