> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: CSGOMainMenu
icon: braces
---

# <ApiPageIcon icon="braces" />CSGOMainMenu

## panorama.panels.CSGOMainMenu<ApiTag label="object type" />

<ApiSymbol inherits="[{&#x22;n&#x22;:&#x22;panorama.panels.Panel&#x22;,&#x22;h&#x22;:&#x22;/cs2/dumped_data/panorama/panels/Panel#panoramapanelspanel&#x22;}]" />

JavaScript panel type `CSGOMainMenu`: the members of a panel's object, as `panorama.ids.<Id>` returns it
or as JavaScript hands it back. Call its members with a dot.
Extends `Panel`, inferred from the registered members; only what `CSGOMainMenu` adds is listed here.

<ApiMembers>
  <ApiMember kind="fn" name="panorama.panels.CSGOMainMenu.CancelDrag" args="" sig="[{&#x22;s&#x22;:&#x22;panorama.panels.CSGOMainMenu.CancelDrag&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" />

  <ApiMember kind="fn" name="panorama.panels.CSGOMainMenu.IsGotvSpectating" args="" sig="[{&#x22;s&#x22;:&#x22;panorama.panels.CSGOMainMenu.IsGotvSpectating&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]]" />

  <ApiMember kind="fn" name="panorama.panels.CSGOMainMenu.IsMultiplayer" args="" sig="[{&#x22;s&#x22;:&#x22;panorama.panels.CSGOMainMenu.IsMultiplayer&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]" ret="[[{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]]" />
</ApiMembers>
