API ReferenceGE Extensionsflowgraphnodesui
Hide Game UI (Flowgraph Node)
- **Node Name:** `Hide Game UI`
Overview
- Node Name:
Hide Game UI - Category:
repeat_instant - File:
extensions/flowgraph/nodes/ui/hideGameUI.lua
Shows or hides the normal game UI (CEF-based apps, HUD elements, etc.).
Pin Schema
Input Pins
| Pin | Type | Description |
|---|---|---|
value | bool | If true, hides the game UI; if false, shows it |
Internals
Key Methods
| Method | Description |
|---|---|
work() | Calls extensions.ui_visibility.setCef(not value) each frame |
How It Works
Each frame, the node inverts the value input and passes it to ui_visibility.setCef(). When value is true, CEF visibility is set to false (UI hidden). When value is false or nil, CEF is shown.
This runs every frame (repeat_instant), so the UI stays hidden as long as the node is active with value = true.
Usage Example
-- Hide the game UI:
extensions.ui_visibility.setCef(false)
-- Show the game UI:
extensions.ui_visibility.setCef(true)
-- In a flowgraph, connect value=true to hide all CEF-based
-- UI elements (apps, gauges, etc.) during cutscenes or menus.Key Dependencies
extensions.ui_visibility.setCef()- controls CEF (HTML/JS) UI layer visibility
See Also
- Medal / Auto Medal (Flowgraph Node) - Related reference
- Clear Messages (Flowgraph Node) - Related reference
- Context Translation (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide