manage_selection
Manage Roblox Studio selection with actions to get, set, add, remove, clear, inspect details, access cached, retrieve context, or watch changes.
Instructions
Get or set the Studio selection. Actions: get, set (paths array), add, remove, clear, details (selection + common properties, optional maxDepth descendants + includeAncestors), cached (last known selection without a Studio round-trip; maxAge ms), context (selection with script source, properties, and children), watch (install a selection-change watcher; call again to collect changes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | ||
| action | Yes | ||
| maxAge | No | cached: max cache age in ms (default 30000, 0 = any age) | |
| maxDepth | No | details: descendant depth (default 1) | |
| includeSource | No | context: include script sources (default true) | |
| includeChildren | No | context: include immediate children (default false) | |
| includeAncestors | No | details: include ancestor chain | |
| includeProperties | No | context: include common properties (default true) |