---
title: Unregister(TElement)
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/unityengine/uielements/eventcallbackgroup1/unregister
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/uielements/eventcallbackgroup1/unregister.md
last_updated: 2026-10-07
generated_at: 2026-11-10T20:11:14.232Z
locale: en-us
---

# Unregister(TElement)

> Removes all group event handlers from the given element.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/7000.0/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## Unregister(T)

```csharp
public void Unregister(TElement element)
```

### Parameters

**** (T): The element to remove the group from. If this callback group was never registered, nothing happens.

### Remarks

This method is usually much faster than unregistering the corresponding callbacks individually.

If any callback contained in this group is unregistered individually prior to calling this method, an undefined behavior will result.
