Need Help on this

Firstly, please use code-tags when posting code and not plain text.

Secondly, please try to put some effort into describing what you’re doing, what you’re expecting and what’s going wrong. Compiler error? What’s the full error it outputs? Something not moving correct? Post a video or image or state as much etc.

EDIT: At a guess, this is a post for the scripting forum because it’s not a 2D specific post. Looks to me like you’re confused with C# because after defining your class you’ve got two empty “{ }” braces. These should surround the code in the class, not preceed it.