© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•13mo ago•
10 replies
The Magical Cheese Wizard

I need help, I don't know what to do.

I am new to game development. Every time I try to add this code to my player, I get the following error message:
"Can't add script behaviour 'MouseMovement'. The script needs to derive from MonoBehaviour!"

Can someone explain what I need to do?
Screenshot.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

I don't know what to do, where to start!
C#CC# / help
10mo ago
I don't know how to do this
C#CC# / help
2y ago
I don't know what identifier to give this
C#CC# / help
4y ago
✅ its giving me this error and i don't know why, what do i need to change?
C#CC# / help
2y ago