Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit3bb1da2647

README.md

debug.scope

Focus the debug overlay on specific entities, or clear the focus.

debug.scope(target?)
  • target — a name or ent_ id, an array of them, or the { id = ... } records scene.find returns. 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.