Game Object Find First Match
Finds the first GameObject in the scene that matches a set of conditions.
Use this when you only need one valid result and do not need to collect every match.
Parameters
| Parameter | Description |
|---|---|
| Find First GameObject Where | Use the Condition Editor to define which GameObjects are valid. |
| Include Inactive | If true, inactive GameObjects are included in the search. |
| Result | Stores the first matching GameObject, or None if no match is found. |
Notes
- This action searches scene objects and can be expensive if used often.
- It is best for occasional lookups rather than every-frame scanning.
- If you need every match, use Game Object Find All Matches instead.