> For the complete documentation index, see [llms.txt](https://tgiann.gitbook.io/tgiann/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tgiann.gitbook.io/tgiann/scripts/tgiann-loadingscreen/exports.md). Agents can also search and read this documentation through its [MCP server](https://tgiann.gitbook.io/tgiann/~gitbook/mcp).

# Exports

## Open

Opens the gallery panel, same as the gallery command. Does nothing when the panel is already open or the `canOpenGallery` check in `client/editable.lua` blocks it. Used by tgiann-esc for its Gallery button.

```lua
exports["tgiann-loadingscreen"]:Open()
```

***

## Close

Closes the gallery panel and releases NUI focus.

```lua
exports["tgiann-loadingscreen"]:Close()
```
