# Register(VisualElement)

> Adds all group event handlers to the given element.

## Definition

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

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

### Parameters

**** (\[VisualElement]\(/engine/6000.7/script-reference/unityengine/uielements/visualelement)): The element to add the group to.

### Remarks

This method allows the contained callbacks to be shared by multiple elements, resulting in a reduced memory footprint.

This method is usually faster than registering the corresponding callbacks individually.
