# FindObjectsInactive

> Options to control whether object find functions return inactive objects.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public enum FindObjectsInactive
```

## Remarks

The Object.FindObjectsByType(), Object.FindFirstObjectByType() and Object.FindAnyObjectByType() functions can take a parameter of this type to indicate whether they should include inactive objects in the array of objects they return. By default, these functions exclude inactive objects.

Additional Resources: [Object.FindObjectsByType](/engine/6000.5/script-reference/unityengine/object/findobjectsbytype.md), [Object.FindFirstObjectByType](/engine/6000.5/script-reference/unityengine/object/findfirstobjectbytype.md), [Object.FindAnyObjectByType](/engine/6000.5/script-reference/unityengine/object/findanyobjectbytype.md)

## Fields

| Value                                                                                 | Description                                                                       |
| ------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [Exclude](/engine/6000.5/script-reference/unityengine/findobjectsinactive/exclude.md) | Don't include inactive objects in the array of objects that the function returns. |
| [Include](/engine/6000.5/script-reference/unityengine/findobjectsinactive/include.md) | Include inactive objects in the array of objects that the function returns.       |
