> For the complete documentation index, see [llms.txt](https://fast-studios.gitbook.io/press-e/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fast-studios.gitbook.io/press-e/manual/scripting/ui-prefab.md).

# UI Prefab

## Useful Properties

<table><thead><tr><th width="227">Property</th><th width="516">Description</th></tr></thead><tbody><tr><td>NameTmpText</td><td>Text object that displays the <a href="/pages/1oXev1RzZTpOWE6OTGsS"><strong>Interactable</strong></a><strong>’s name</strong>.</td></tr><tr><td>DetailsText</td><td>Text object used for the <a href="/pages/yqHEPHgNcPMCEtdPPgOo#details"><strong>details</strong></a> <strong>text</strong> in <a href="/pages/syfFyvEkD65BpodQVoer"><strong>inspection</strong></a> <strong>mode</strong>.</td></tr><tr><td>DetailsImage</td><td>Image object used for the <a href="/pages/yqHEPHgNcPMCEtdPPgOo#details"><strong>details</strong></a> <strong>image</strong> in <a href="/pages/syfFyvEkD65BpodQVoer"><strong>inspection</strong></a> <strong>mode</strong>.</td></tr><tr><td>Background</td><td>Image object used as the <strong>background</strong> for the <a href="/pages/syfFyvEkD65BpodQVoer">inspection</a> details.</td></tr><tr><td>Image</td><td>Image object shown during <strong>While Interacting</strong> (used by <a href="/pages/LMQyw3YPaMhG4SPKz19h"><strong>Drag</strong></a> and <a href="/pages/V037LIluRRiQT4A1ha93"><strong>Grab</strong></a>).</td></tr><tr><td>Slider</td><td>Slider object used by <a href="/pages/LMQyw3YPaMhG4SPKz19h"><strong>Drag</strong></a> when the interaction exposes a <strong>slider value</strong>.</td></tr></tbody></table>

## Useful Methods

<table><thead><tr><th width="227">Method</th><th width="516">Description</th></tr></thead><tbody><tr><td><a href="/pages/6MZxGbWe6qUsQaOUFgjY">SetInteractionText</a></td><td>Parses a string and replaces <code>{key}</code> / <code>{interactionKey}</code> and <code>{throwKey}</code> with the current keys.<br>If an <code>Interactable</code> is provided, per-object overrides are respected; otherwise, keys come from <code>InteractionManager</code>.</td></tr></tbody></table>
