> For the complete documentation index, see [llms.txt](https://docs-csgo.neverlose.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-csgo.neverlose.cc/documentation/variables/panorama.md).

# panorama

## Functions:

### loadstring

`panorama.loadstring(js_code: string[, panel: string]):` <mark style="color:purple;">`any`</mark>

<table><thead><tr><th width="150">Name</th><th width="276.6327476178787">Type</th><th width="315.3767817476029">Description</th></tr></thead><tbody><tr><td><strong>js_code</strong></td><td><strong><code>string</code></strong></td><td>String containing JavaScript code</td></tr><tr><td><strong>panel</strong></td><td><strong><code>string</code></strong> (panorama root panel)</td><td>Optional. Panel name</td></tr></tbody></table>

## Accessing API's

`panorama[api]:` <mark style="color:purple;">`table`</mark>

<table><thead><tr><th width="150">Name</th><th width="276.6327476178787">Type</th><th width="315.3767817476029">Description</th></tr></thead><tbody><tr><td><strong>api</strong></td><td><strong><code>string</code></strong></td><td>API name, e.g. GameStateAPI</td></tr></tbody></table>

`panorama[panel][api]:` <mark style="color:purple;">`table`</mark>

<table><thead><tr><th width="150">Name</th><th width="276.6327476178787">Type</th><th width="315.3767817476029">Description</th></tr></thead><tbody><tr><td><strong>panel</strong></td><td><strong><code>string</code></strong> (panorama root panel)</td><td>Panel name</td></tr><tr><td><strong>api</strong></td><td><strong><code>string</code></strong></td><td>API name, e.g. GameStateAPI</td></tr></tbody></table>

```lua
-- Access an API from the default root panel
local MyPersonaAPI = panorama.MyPersonaAPI

print(MyPersonaAPI.GetXuid())

-- Access an API from a specific root panel
local UiToolkitAPI = panorama.CSGOMainMenu.UiToolkitAPI

UiToolkitAPI.CloseAllVisiblePopups()
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-csgo.neverlose.cc/documentation/variables/panorama.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
