GetOpenScreen
Which of the game’s player screens is open.
Syntax
Section titled “Syntax”GetOpenScreen()Returns
Section titled “Returns”string - "inventory", "character", "map", "codex", "journal" or "other"; nil = none
Example
Section titled “Example”function OnFrame(dt) if GetOpenScreen() == "map" then DrawMapNotes() end -- the script's own functionendSee also
Section titled “See also”OnScreenChange · the The game’s screens group of the index
