Hello, im trying to call an function when i press a button in html and it throw me this error: Uncaught TypeError: Cannot read property 'sprite' of undefined     at showMessage (init.js:105)     at xd(init.js:121)     at HTMLDivElement.onclick ((index):1)   The function is this: function xd(){ console.log("clicked0"); showMessage(); console.log("clicked1"); }   function showMessage(){ thi