Uncaught ReferenceError.Window is not defined

When I refresh the code, Editor Tips:Uncaught ReferenceError.Window is not defined

this is my code.

Hi @gyk,

Where are you seeing that error? Editor, code and launch window seem to run fine for me (I opened your first scene).

Thank you for your help, Error in the Properties panel on the entity. I found the reason.Window - window.
Previously, the w of Window was allowed to be capitalized,

1 Like

Yes, JavaScript is case sensitive so make sure that your code follows that.