s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Globals
Game
IsMainMenuVisible
chevron_left Globals
class
Game

Static Properties

data_objectActiveScenedata_objectAppIddata_objectCheatsEnableddata_objectCookiesdata_objectIdentdata_objectInGamedata_objectIsClosingdata_objectIsEditordata_objectIsMainMenuVisibledata_objectIsPauseddata_objectIsPlayingdata_objectIsRecordingVideodata_objectIsRunningInVRdata_objectIsRunningOnHandhelddata_objectLanguagedata_objectPhysicsTracedata_objectRandomdata_objectSceneTracedata_objectSteamIddata_objectTypeLibrary

Static Methods

functionsChangeScenefunctionsClosefunctionsCreateWebSurfacefunctionsDisconnectfunctionsLoadfunctionsSetRandomSeedfunctionsTakeHighResScreenshotfunctionsTakeScreenshot
IsMainMenuVisible
Returns true if the main menu is visible. Note that this will work serverside too but will only return the state of the host.
propertystatic
static bool IsMainMenuVisible { get; set; }
Declared in Sandbox.Game ยท Assembly Sandbox.Engine
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter