Skip to content

menu


player_root

submenu menu.player_root()

Returns a reference to the player submenu that the script owns
Example Usage
local sub = menu.player_root()

script_root

submenu menu.script_root()

Returns a reference to the script submenu that the script owns
Example Usage
local sub = menu.script_root()

get_internal_option

option menu.get_internal_option(string path)

Returns a reference to the internal option located at the provided path
Example Usage
local opt = menu.get_internal_option("Main/Player/Invisibility")

Note

This can only be used on options that appear in State.json