Skip to content

Scene Header Control Nodes

Game state variables shown as scene header controls or in Debug Tools: read a variable's control settings and pin or unpin it.

2 nodes.

Node Registry path
Get Game State Path Settings state/GetGameStatePathSettings
Pin Game State Path state/PinGameStatePath

Get Game State Path Settings

state/GetGameStatePathSettings

How a game state path is pinned: as a control in the scene header (control), listed in Debug Tools (debug), and the control's settings.

Inputs

Input Type Description
path str the game state path (e.g. 'player/health')

Outputs

Output Type Description
path str the normalized path
pinned bool True when the path is shown in the header or in Debug Tools
control bool True when the path is a control in the scene header
debug bool True when the path is listed in Debug Tools
read_only bool True when the path or a pinned container above it is read only
settings dict label, description, minimum, maximum, step, slider, choices, read_only and order, as set

Properties

Property Type Default Description
path str "" path

Pin Game State Path

state/PinGameStatePath

Pin or unpin a game state path: control shows it as a control in the scene header, debug lists it in Debug Tools. settings changes only the fields given. Unpinning from both targets removes the settings.

Inputs

Input Type Description
state any graph state (passthrough)
path str the game state path (e.g. 'player/health')
enabled bool (optional) pin (true) or unpin (false)
settings dict control settings to apply (optional)

Outputs

Output Type Description
state any graph state
path str the normalized path
settings dict the path's settings after the change

Properties

Property Type Default Description
path str "" path
target str "control" Where the path is pinned. Choices: control, debug.
enabled bool True Pin (true) or unpin (false)