Skip to content

sud.onHide ​

JS
    sud.onHide(function callback)

Listens for the event of the minigame being hidden to the background.

Operations such as locking the screen or pressing the HOME button to return to the desktop will trigger this event.

Parameters

  • function callback: Callback function for the event of the minigame being hidden to the background