# IsEnabled(Entity)

> Check whether an entire entity has the Disabled tag component.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public bool IsEnabled(Entity entity)
```

### Parameters

**** (\[Entity]\(/engine/7000.0/script-reference/unity/entities/entity)): The entity to check

### Returns

| Type                                                          | Description                                                                                                                                        |
| ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the target entity does not have [Disabled](/engine/7000.0/script-reference/unity/entities/disabled.md) tag component, or false if it does. |

### Remarks

Entities with the [Disabled](/engine/7000.0/script-reference/unity/entities/disabled.md) component are not matched by any [EntityQuery](/engine/7000.0/script-reference/unity/entities/entityquery.md), and are therefore not processed by systems. To override this behavior for a specific query, use EntityQueryOptions.IncludeDisabledEntities at query creation time.

Additional Resources: [EntityManager.SetEnabled](/engine/7000.0/script-reference/unity/entities/entitymanager/setenabled.md)
