Properly pause the game in Cocos Creator?

Hi,

I’m making a game for web mobile, and now I’m trying add feature to pause the game. I’ve tried cc.game.pause or cc.director.pause, they pause the entire thing that I can’t even resume it through user input that interacts with the in-game nodes.

What I need is to pause the game update, but still allow the user input to resume the game when I press the button again or pressing another button to resume the game.

Is there a way to do this in Cocos Creator?

Thanks

I would build a pause/play feature into all things that you need to pause and then just call that.

I will do that as a last resort, cause “all” things are not a few things. So I guess that’s my only option then.