> 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.md).

# Advanced Debug Menu Binding

The **Advanced Debug Menu Binding** represents a registered property, function, or action. It is returned by the registration functions of the **Advanced Debug Menu Subsystem**.

This reference allows you to **read, modify, reset, pin, and remove individual entries** during gameplay.

### Main Functions

| Function              | Description                                                            |
| --------------------- | ---------------------------------------------------------------------- |
| `ReadValue`           | Reads the current value. Enable **Force** to bypass the refresh cache. |
| `WriteText`           | Writes a value using its text representation.                          |
| `WriteNumber`         | Changes a supported numeric value.                                     |
| `WriteBoolean`        | Changes a Boolean value.                                               |
| `WriteComponent`      | Changes one component of a Vector, Rotator, or Color.                  |
| `ResetToInitialValue` | Restores the value captured when a Setter was registered.              |
| `ExecuteAction`       | Executes the function registered as an Action.                         |
| `GetLastError`        | Returns the most recent binding edit or execution error.               |
| `GetTarget`           | Returns the registered target object, if it is still valid.            |

### Properties

* **Property Name:** The bound property path or function name.
* **Mode:** Whether the entry is a Setter or Viewer.
* **Kind:** Type of control displayed by the Debug Menu.
* **Options:** Custom label, category, and editing settings.
* **Pinned:** Whether the value should appear in the Monitor.

### Delegates

**OnValueCommitted** is called whenever a value is successfully changed, restored, or an action is executed through the binding.

{% hint style="info" %}
**Viewer** entries cannot be edited, and **Action** entries cannot be pinned to the Monitor. The binding's **Read Value** function returns a snapshot; check its **Valid** field before using the result.
{% endhint %}
