# Sandbox.Internal.IMenuSystem

This is how the engine communicates with the menu system

- Kind: interface
- Namespace: `Sandbox.Internal`
- Assembly: `Sandbox.Engine`
- Modifiers: abstract

## Properties

- [`ForceCursorVisible`](/api/Sandbox.Internal.IMenuSystem/ForceCursorVisible): True if we want to force the cursor to be visible and swallow input. This is used for the developer console and loading screens.

## Methods

- [`Init`](/api/Sandbox.Internal.IMenuSystem/Init): Called to initialize the menu system
- [`OnPackageClosed`](/api/Sandbox.Internal.IMenuSystem/OnPackageClosed): Package closed. Add a toast asking if it was cool or not
- [`OnPartyInvite`](/api/Sandbox.Internal.IMenuSystem/OnPartyInvite): A friend's invited us into their party. Unless the menu does something better with it, it's a yes/no question like any other.
- [`OnPartyJoinRequest`](/api/Sandbox.Internal.IMenuSystem/OnPartyJoinRequest): A friend is asking to join our party.
- [`PackageFavouritesChanged`](/api/Sandbox.Internal.IMenuSystem/PackageFavouritesChanged): Notifies that the number of favourites for the specified package has changed.
- [`PackageUsageChanged`](/api/Sandbox.Internal.IMenuSystem/PackageUsageChanged): The backend is telling us that the number of users playing has changed
- [`Popup`](/api/Sandbox.Internal.IMenuSystem/Popup): Show a popup
- [`Question`](/api/Sandbox.Internal.IMenuSystem/Question): Show a question
- [`Shutdown`](/api/Sandbox.Internal.IMenuSystem/Shutdown): Close down the menu, delete everything
- [`Tick`](/api/Sandbox.Internal.IMenuSystem/Tick): Called every frame, to let the menu think
