Builtin Library
README.md
debug.scope
Focus the debug overlay on specific entities, or clear the focus.
debug.scope(target?)
target— a name orent_id, an array of them, or the{ id = ... }recordsscene.findreturns. Names resolve to every matching entity. Omit (or pass an empty list) to clear the focus and draw for every entity again.
Returns { scoped = { ids }, count = number }, the scope after the change.
Every enabled category honours the scope, so the overlay focuses on the chosen objects — hierarchy bounds, for instance, draw one box per scoped part instead of one union box per top-level object. The scope lives in memory only and is never saved.