Skip to content

Global Class "MenuManager"⚓︎

Info

You can get this class by using the MenuManager global table.

Note that to call these functions, you must use a . (period) instead of a : (colon)!

Example Code
1
local sprite = MenuManager.GetBackWidgetSprite()

Functions⚓︎

GetActiveMenu ()⚓︎

Returns the MainMenuType of the currently active (visible) section of the main menu.


GetBackWidgetSprite ()⚓︎

Sprite GetBackWidgetSprite ( )⚓︎


GetColorModifierLerpAmount ()⚓︎

ColorModifier GetColorModifierLerpAmount ( )⚓︎

Info

This is formatted as the absolute rate of change (ie, all values are positive).


GetCurrentColorModifier ()⚓︎

ColorModifier GetCurrentColorModifier ( )⚓︎


GetInputMask ()⚓︎

ButtonActionBitwise GetInputMask ( )⚓︎

Returns the input mask of allowed inputs on the main menu.


GetSelectWidgetSprite ()⚓︎

Sprite GetSelectWidgetSprite ( )⚓︎


GetShadowSprite ()⚓︎

Sprite GetShadowSprite ( )⚓︎

Shadow decoration that looks like isaacs head.


GetTargetColorModifier ()⚓︎

ColorModifier GetTargetColorModifier ( )⚓︎


GetViewPosition ()⚓︎

Vector GetViewPosition ( )⚓︎


SetActiveMenu ()⚓︎

int SetActiveMenu (MainMenuType Menu )⚓︎

Changes the active menu on the main menu to match the given MainMenuType.


SetColorModifier ()⚓︎

void SetColorModifier ( ColorModifier ColorModifier, boolean Lerp = true, float Rate = 0.015 )⚓︎


SetInputMask ()⚓︎

void SetInputMask ( ButtonActionBitwise InputMask )⚓︎

Sets the input mask of allowed inputs on the main menu. Useful for custom menus.


SetViewPosition ()⚓︎

void SetViewPosition ( Vector Position )⚓︎