You can find a list of existing UI layers on UI Scripting -> .
To traverse a layer's children, you first need to get the corresponding layer's virtual window:
privatestaticfuncPrintLayerHierarchy(CName layerName) {let window = GameInstance.GetInkSystem().GetLayer(layerName).GetVirtualWindow();let rootWidget = window.GetWidgetByPathName(n"Root")as inkCanvas;// The function LogWidgetTree is defined belowLogChannelTree(n"DEBUG", baseHudRoot);}PrintLayerHierarchy(n"inkHUDLayer")
Logging Widget Trees
Big thanks to Rayshader for walking me through this with the patience of a saint!