Mole Uneather

Hi all :smiley:

I am having an issue with the Mole Uneather exercise, I can’t seem to get it to unpause. Here is the function, any help appreciated:

const togglePause = () =>{
if (isPaused === false){
isPaused = true;
this.displayPauseScreen();
} else {
isPaused = false
this.removePauseScreen();
}
}

Here is a link to the exercise: https://www.codecademy.com/paths/create-video-games-with-phaser/tracks/game-dev-learn-javascript-function-and-scope/modules/game-dev-project-functions-and-scope/projects/mole-unearther

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.