---
title: Register(VisualElement)
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/eventcallbackgroup/register
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/uielements/eventcallbackgroup/register.md
last_updated: 2026-10-07
generated_at: 2026-11-11T14:44:00.812Z
locale: en-us
---

# Register(VisualElement)

> Adds all group event handlers to the given element.

## Definition

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

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

### Parameters

**** (\[VisualElement]\(/engine/7000.0/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.
