# Generate New Unique IDs for a Block

For a single block, if you need to reset the unique IDs, you can do so in the block's context menu.

<figure><img src="/files/Y0rhDwoRp3juaGj5Yvng" alt=""><figcaption><p>Generate New Unique IDs option</p></figcaption></figure>

{% hint style="danger" %}
**Why generate new Unique IDs?** GenerateBlocks uses the unique ID attribute of its blocks to do style targeting. If you copy/duplicate a block, sometimes the old unique ID carries over, and modifying one block changes the other. With an updated unique ID, the block can be style-independent of other block styles.
{% endhint %}

When generating new Unique IDs, the conversion works recursively, so any child blocks will also have their unique IDs reset also.

If you need to change the Unique IDs for a group of blocks, wrapping those in a Container block and generating the new Unique IDs for the Container block is recommended.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dlxplugins.com/gb-extras/features/generate-new-unique-ids-for-a-block.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
