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

# Other SDK objects and parameters

<!-- 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 -->

## screen object {#screen}

Contains screen settings:

```lua showLineNumbers
{
    fullscreen: {
        status: function(): "on"|"off",
        request: function(): nil,
        exit: function(): nil
    },
    orientation: {
        get: function(): "portrait"|"landscape",
        set: function(value: "portrait"|"landscape")
    }
}
```

<!-- source: en/_includes/sdk/common-with-plugins.md -->
{% note alert %}

Yandex Games can automatically launch in fullscreen mode, but many browsers prohibit switching modes without a user command.

The Yandex Games screen already has a fullscreen button in the top-right corner, so use the `screen.fullscreen` object parameters to handle buttons directly in the game.

{% endnote %}
<!-- endsource: en/_includes/sdk/common-with-plugins.md -->

## clipboard object {#clipboard}

Designed to write a string to the clipboard using the method `ysdk.clipboard.write_text(text: string)`.

## device_info object {#device-info}

Designed to retrieve information about the user's device using the `ysdk.device_info()` method.

```lua showLineNumbers
{
    type: "mobile"|"desktop"|"tablet"|"tv",
    isMobile: boolean,
    isDesktop: boolean,
    isTablet: boolean,
    isTV: boolean
}
```

---


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