28. Open and close the right window
For an ordinary custom GUI, a HUD Button can use Show GUI, Toggle GUI or an action list containing ShowGUI. A Close Button uses Hide GUI. Those operations choose the GUI ID, not the widget’s element ID.
For the journal’s built-in open command, assign your custom GUI in Global Settings. In the General tab, scroll down to Custom System Interfaces and choose Workshop Journal(journal_lab) for Journal Screen. Apply Changes and Save Project.
Figure 29. Journal Screen chooses which custom GUI the journal command opens.
A HUD Button using toggle-journal, or the configured journal keybinding, then targets that screen. The engine can raise it above ordinary HUD layers and coordinate it with the inventory screen. If no custom journal is assigned, the command can use the built-in panel instead.
For hints, use an ordinary Show/Toggle GUI Button unless your game has a more specific help flow. A modal GUI blocks normal world input while the window is open; close it deliberately before expecting another world interaction.
Use one open path consistently. A generic ShowGUI call and the journal’s system command do not necessarily apply identical priority and coordination behavior. Test the exact Button and keybinding the player will use.
