Loading...
Loading...
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.
npx skill4agent add hatayama/uloopmcp uloop-find-game-objectsuloop find-game-objects [options]| 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 |
| Mode | Description |
|---|---|
| Exact name match |
| Hierarchy path search (e.g., |
| Regular expression pattern |
| Partial name match (default) |
| Get currently selected GameObjects in Unity Editor |
| Option | Description |
|---|---|
| Target a specific Unity project (mutually exclusive with |
| Specify Unity TCP port directly (mutually exclusive with |
# 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-inactiveSelected.uloop/outputs/FindGameObjectsResults/