uloop-find-game-objects
Original:🇺🇸 English
Translated
Find specific GameObjects in scene. Use when: searching for objects by name, finding objects with specific components, locating tagged/layered objects, getting currently selected GameObjects in Unity Editor, or when user asks to find GameObjects. Returns matching GameObjects with paths and components.
14installs
Sourcehatayama/uloopmcp
Added on
NPX Install
npx skill4agent add hatayama/uloopmcp uloop-find-game-objectsTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →uloop find-game-objects
Find GameObjects with search criteria or get currently selected objects.
Usage
bash
uloop find-game-objects [options]Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| string | - | Name pattern to search |
| string | | Search mode: |
| array | - | Required components |
| string | - | Tag filter |
| string | - | Layer filter |
| integer | | Maximum number of results |
| boolean | | Include inactive GameObjects |
Search Modes
| Mode | Description |
|---|---|
| Exact name match |
| Hierarchy path search (e.g., |
| Regular expression pattern |
| Partial name match (default) |
| Get currently selected GameObjects in Unity Editor |
Global Options
| Option | Description |
|---|---|
| Target a specific Unity project (mutually exclusive with |
| Specify Unity TCP port directly (mutually exclusive with |
Examples
bash
# Find by name
uloop find-game-objects --name-pattern "Player"
# Find with component
uloop find-game-objects --required-components Rigidbody
# Find by tag
uloop find-game-objects --tag "Enemy"
# Regex search
uloop find-game-objects --name-pattern "UI_.*" --search-mode Regex
# Get selected GameObjects
uloop find-game-objects --search-mode Selected
# Get selected including inactive
uloop find-game-objects --search-mode Selected --include-inactiveOutput
Returns JSON with matching GameObjects.
For mode with multiple objects, results are exported to file:
Selected- Single selection: JSON response directly
- Multiple selection: File at
.uloop/outputs/FindGameObjectsResults/ - No selection: Empty results with message