Godot Version
4.5
Question
I am developing a cross-platform live wallpaper app that supports Godot games as wallpapers, similar to the way Wallpaper Engine supports displaying Unity games as wallpapers.
I use the Godot web export to display the wallpapers in a webview across all platforms, which is working fine. The problem now is that the pause and resume functions I have in JS are unable to pause and resume Godot Engine itself, to save battery and such when needed. I have looked into the Godot Engine source code and cannot find a method to pause/resume the engine itself from JS. Is there a way to do this?