# Deconstruct(out T1, out Entity)

> Clean up an existing object.

## Definition

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

## Deconstruct(T, Entity)

```csharp
public void Deconstruct(out T1 item1, out Entity entity)
```

### Parameters

**** (T): The value for `T1`.**** (\[Entity]\(/engine/7000.0/script-reference/unity/entities/entity)): The entity

### Remarks

Objects of this type are typically created and destroyed automatically by the source generators.

Additional Resources: [QueryEnumerableWithEntity\<T>](/engine/7000.0/script-reference/unity/entities/queryenumerablewithentity1/ctor.md)
