# Register(TElement)

> Adds this callback's event handler to the given element.

## Definition

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

## Register(T)

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

### Parameters

**** (T): The element to add the callback to.

### Remarks

If the event handler is already registered for the same phase (either TrickleDown or BubbleUp), this method has no effect.

Refer to the [Handle event callbacks and value changes](/engine/6000.7/manual/uitoolkits/uielements/uie-events/handling.md) manual page for more information and examples.

This method allows this callback instance to be shared by multiple elements, resulting in a reduced memory footprint.
