> For the complete documentation index, see [llms.txt](https://unlycky-roll-studio.gitbook.io/unlucky-roll-studio-or-plugin-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://unlycky-roll-studio.gitbook.io/unlucky-roll-studio-or-plugin-documentation/advanced-debug-menu-documentation/features/advanced-debug-menu-binding/resettoinitialvalue.md).

# ResetToInitialValue

Restoring the initial value of a registered Setter

## Outputs

* **Boolean:** Returns **True** when the original value is successfully restored.

## Description

Restores the value captured when the **Setter** entry was first registered.

For example, if a variable was **50** when registered and was later changed to **75**, this function restores it to **50**.

The same operation is available from the **Reset** button on compatible Debug Menu rows.

{% hint style="info" %}
The initial value is captured at registration time, not when the menu opens. **Viewer** and **Action** entries do not have this reset behavior.
{% endhint %}
