Find instances
find_instancesSearch a live Roblox instance tree with CSS-like selectors or name and class filters to locate objects and return their full paths, classes, and optional property values.
Instructions
Search the instance tree. Use a CSS-like selector (for example Model > Part[Anchored=false], TextButton#Play, Frame TextLabel[Text*='coins'], RemoteEvent) or the simple name and class_name filters. Returns the full path and class of each match, optionally with property values, and whether the result list was cut off. Requires the connected state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Case-insensitive part of the instance name. | |
| root | No | Dotted path to search under (default game). | |
| limit | No | Maximum number of results (default 50). | |
| client | No | Client id from list_clients, for example c2. Defaults to the client that connected last. | |
| selector | No | Selector made of Type, #Name and [property operator value] parts. A space means any descendant, > means a direct child. Operators: = != *= ^= $= < <= > >=. A property can also be an attribute. | |
| class_name | No | Class to match, base classes included (for example BasePart, RemoteEvent or LocalScript). | |
| properties | No | Property names to return for every match (at most 8). |