Pause Handling

Platform Supported
Crazy Games ✔️
Yandex Games ✔️
Poki ✔️
VK ✔️

Note

This function works on any hosting, including the test server Godot.

Sometimes the built-in Godot focus tracking tools may not work under specific conditions. To avoid unwanted behavior in such cases, this plugin provides signals: - focused - unfocused

Example:

WebBus.focused.connect(func():
    get_tree().set_pause(false))
WebBus.unfocused.connect(func():
    get_tree().set_pause(true))