# RebuildOn(VisualElement)

> Creates a new QueryState with the same selection rules, applied on another VisualElement.

## Definition

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

```csharp
public UQueryState<T> RebuildOn(VisualElement element)
```

### Parameters

**** (\[VisualElement]\(/engine/6000.0/script-reference/unityengine/uielements/visualelement)): The element on which to apply the selection rules.

### Returns

| Type                                                                                      | Description                                                              |
| ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| [UQueryState\<T>](/engine/6000.0/script-reference/unityengine/uielements/uquerystate1.md) | A new QueryState with the same selection rules, applied on this element. |
