-- 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()