Included library needs to be inculded

I made a code in the arduino IDE what is literally starting with #include <Mouse.h>
When I check it with the program, it gives me the same error multiple times in different parts that says check if my sketch incdules the #include <Mouse.h> line. The funny this is I wrote another code which was working fine and I just copy pasted the first half of that code.
HELP PLEASE
Thanks.

Post the code….

and do yourself a favour and please read How to get the best out of this forum and add to your post accordingly (including code tags and necessary documentation of your ask).

Maybe you're trying to compile for the wrong processor...

1 Like

Oh my god you are a savior! I did not noticed that it switched board, I did not even know it is possible. Thank you!