Engine

core.engine.is_mainmenu_visible

Client

Retrieves whether the main menu is currently visible

Syntax

local result = core.engine.is_mainmenu_visible()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if the main menu is visible, false otherwise

Examples

Checks if the main menu is currently visible
core.engine.print("info", "Main menu visible:", core.engine.is_mainmenu_visible())

On this page