EnableOverlay

Temporarily blocks in-game input while allowing Susano’s own overlay to handle mouse interactions.

Syntax

Susano.EnableOverlay(bool) -> void

Parameters

state (boolean): Whether or not you enable overlay

Return(s)

None

Behavior

Temporarily blocks in-game input while allowing Susano’s own overlay to handle mouse interactions and draw its cursor. Commonly used when rendering the main menu or other interactive UI elements.

Example(s)

Susano.EnableOverlay(true)