Skip to content

Game Object Find First Match

Finds the first GameObject in the scene that matches a condition test.

Parameters

Parameter Description
Find First GameObject Where Condition test used to evaluate each GameObject. See Condition Editor.
Include Inactive If true, inactive GameObjects are included in the search.
Result Output GameObject variable storing the first match found, or None if no match is found.

Notes

  • This is an expensive action because it may scan many GameObjects in the scene until it finds a match.
  • Use it when you only need the first matching GameObject instead of a full list of results.