Builtin Library
README.md
renderLayer.screen
Set which render layers a UI screen draws into, by name.
renderLayer.screen("hud", "ui")
renderLayer.screen("debugOverlay", { "debug", "ui" })
A screen appears in a camera or capture only when its layers intersect that camera's include filter — the same rule geometry follows.
Content UI sits on ui by default; the editor places its chrome on
EditorUI, which is why a capture asking for "all !EditorUI" drops the
editor panels and keeps the game HUD.
Returns { screen, layers } with the layers the screen now draws into.