Discord
Login
Community
DARK THEME

Why is my keyboard.RIGHT not defined?

It always does that for some reason

I guess one would have to see the whole code. Or a link to your project.

keyboard.RIGHT is actually not defined before the user will press the key for the first time. If you are seeing this message, it could be:

  • that you are using microScript with warnings turned on ; this message is just a warning and can be ignored. Also these warnings can be turned off in the console options.
  • that you are using another language, maybe Python. Check in the documentation tab for your language, you will find how to access these properties without error.

Problem solved, thanks!

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community