Hi, where is the variable that is undefined?

I am getting a Program Error: cannot read properties of undefined (reading: vtable) Just wondering what variable and where the error occurs.

Here is the game:

Wow, I looked really hard, but I couldn’t find anything…

Maybe, just maybe (don’t take this seriously if it sounds dumb I’m just a newb) check the *postion function. I don’t know but I think it might be that.

I like chess :slight_smile:

there is no variable, thats the issue

Debug menu is great for this! It looks like the on game update is running before the sprites were created. Perhaps you could implement a few seconds delay or have the on game update block not run if the game has been running for less than 300 milliseconds or so.

Thanks! It worked just as you said. :smiley:

1 Like