> 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-subsystem/registerdebugproperty.md).

# RegisterDebugProperty

Register Debug Property

## Inputs

* **Target Object (Object):** Actor or Component that contains the property. Defaults to **Self**.
* **Property Name (Name):** Name of the property to register.
* **Mode (Debug Menu Entry Mode):** **Setter** or **Viewer**.
* **Options (Debug Menu Entry Options):** Label, category, and value-editing settings.
* **Setter Function (Name, optional):** Custom function used to apply an edited value.

## Outputs

* **Return Value (Advanced Debug Menu Binding):** Reference to the registered entry, or **None** if registration fails.

## Description

Registers a property so you can **view or modify its value directly from the Debug Menu**.

* Choose **Setter** to edit the value during gameplay.
* Choose **Viewer** to display the value without allowing edits.
* Use the **Property Name** picker to select a reflected property from your target object.

The plugin also supports property paths such as `Stats.Health` and `Inventory[0].Quantity`, provided the referenced objects and array elements are valid.

{% hint style="warning" %}
For values controlled by gameplay logic, use a compatible **Setter Function** instead of relying only on a direct property write. Always check that the returned binding is valid.
{% endhint %}

{% content-ref url="/pages/H1lv5uC30SkqA0Aj2As4" %}
[Entry Options and Supported Types](/unlucky-roll-studio-or-plugin-documentation/advanced-debug-menu-documentation/features/advanced-debug-menu-binding/entry-options-and-supported-types.md)
{% endcontent-ref %}
