---
metadata:
  - name: generator
    content: Diplodoc Platform v5.57.3
alternate:
  - https://yandex.com/dev/games/doc/en/sdk/defold/game-start.md
  - https://yandex.com/dev/games/doc/hi/sdk/defold/game-start.md
  - https://yandex.com/dev/games/doc/ko/sdk/defold/game-start.md
  - https://yandex.com/dev/games/doc/ru/sdk/defold/game-start.md
  - https://yandex.com/dev/games/doc/tr/sdk/defold/game-start.md
  - https://yandex.com/dev/games/doc/vi/sdk/defold/game-start.md
  - https://yandex.com/dev/games/doc/zh/sdk/defold/game-start.md
  - href: en/sdk/defold/game-start.md
    type: text/markdown
    title: Markdown version
  - href: ../../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/games/doc/en/llms.txt

# Game start

<!-- source: en/_includes/script-common.md -->
<!-- source: en/_includes/script/index-js.md -->

<!-- endsource: en/_includes/script/index-js.md -->

<!-- source: en/_includes/script/requirements-js.md -->

<!-- endsource: en/_includes/script/requirements-js.md -->

<!-- source: en/_includes/script/image-modal-js.md -->

<!-- endsource: en/_includes/script/image-modal-js.md -->
<!-- endsource: en/_includes/script-common.md -->

The method `ysdk.features.loading_api.ready()` indicates the moment when the game has loaded all resources and is ready for user interaction.

```lua showLineNumbers
function init(self)
    ysdk.features.loading_api.ready()
end
```

Yandex Games operate worldwide, which is why collecting statistics is important for improving game loading speed and accessibility. For example, based on this data, we decide where to deploy new data centers.

This method will also allow us to add new features in the future to make beneficial use of game loading time, such as:

- displaying another ad block, which will generate additional income for the developer;
- a common loading screen for all games, with game screenshots or reviews, which will increase the game's appeal.

When using the method, ensure that at the time of invocation in the game:

- all elements are ready for player interaction;
- there are no loading screens.

---


<!-- source: en/_includes/button-git.md -->
<a href="https://github.com/yandex-games-plugins/defold">
  <span class="button">Repository</span>
</a>
<!-- endsource: en/_includes/button-git.md -->
