---
title: Exists
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/entities/globalentitymanager/exists
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/entities/globalentitymanager/exists.md
last_updated: 2026-11-03
generated_at: 2026-11-04T10:00:18.250Z
locale: en-us
---

# Exists

> Checks whether an entity exists in any world.

## Definition

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

## Exists(Entity)

Checks whether an entity exists in any world.

```csharp
public static bool Exists(Entity entity)
```

### Parameters

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

### Returns

| Type                                                          | Description                |
| ------------------------------------------------------------- | -------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the entity exists. |

## Exists(WorldUnmanaged, Entity)

Checks whether an entity exists in the given world.

```csharp
public static bool Exists(WorldUnmanaged world, Entity entity)
```

### Parameters

**** (\[WorldUnmanaged]\(/engine/7000.0/script-reference/unity/entities/worldunmanaged)): The world to look in.**** (\[Entity]\(/engine/7000.0/script-reference/unity/entities/entity)): The entity.

### Returns

| Type                                                          | Description                           |
| ------------------------------------------------------------- | ------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the entity exists in `world`. |
