Uncaught TypeError: Cannot read properties of undefined (reading 'add') at main.js


I got an error in my code but i can’t find it…

:wave:

game.state, game.load etc. are all Phaser 2 code and won’t work in Phaser 3.

1 Like

Oh ok, thanks a lot :slight_smile: