Topic, I need a way to check which windows are being shown on screen, using javascript, ideally with a function that returns a boolean value, or maybe an array with the scene stack, so I can use this on some conditions for a custom HUD. Something like:
I may be wording this incorrectly, but I've been looking in rpg_windows.js and rpg_scenes.js and I can't seem to find any function that does this like in the times of RGSS3.
Can anyone help?
JavaScript:
// NOT actual code
isSceneShowing("Scene_Battle")
isWindowShowing("Window_BattleEnemy")
Can anyone help?