# Equals(SceneTag)

> Two SceneTags are equal if they have the same root subscene entity.

## Definition

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

```csharp
public bool Equals(SceneTag other)
```

### Parameters

**** (\[SceneTag]\(/engine/7000.0/script-reference/unity/entities/scenetag)): The other SceneTag.

### Returns

| Type                                                          | Description                                                          |
| ------------------------------------------------------------- | -------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if both SceneTags refer to the same Subscene. False, otherwise. |
