# Tooltip (Pro)

{% hint style="warning" %}
This feature is only available in realvirtual.io Professional
{% endhint %}

The **RuntimeTooltip** system allows you to display contextual tooltips in your simulation, helping users understand the function or content of scene objects at runtime.

<figure><img src="https://260262196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpYxFg97YnJX96UzNNTSd%2Fuploads%2Fgit-blob-fa3bc8fa36bcb3f29302f853abd6cb34a27e284d%2Ftooltip.png?alt=media" alt=""><figcaption><p>Runtime tooltip</p></figcaption></figure>

#### Features

* Works with any 3D object in the scene
* Fully supports **TextMeshPro rich text** (bold, color, line breaks)
* Dynamically displayed on hover or selection
* Easy to integrate via prefab

## Required Components

**1. Tooltip Controller (Scene-Level)**

You must add the Tooltip Controller to your scene. This controller handles the positioning and display of all tooltips.

> 📦 **Prefab**:\
> `Assets/realvirtual/Professional/SceneSelection/TooltipController.prefab`

Drag and drop this prefab into your scene to enable the tooltip system.

**2. RuntimeTooltip Script (Object-Level)**

Attach the `RuntimeTooltip` script to any GameObject you want to annotate with a tooltip.

**Steps:**

1. Select the target GameObject (e.g., a cabinet).
2. Add the component: `Runtime Tooltip (Script)`
3. Enter your tooltip text in the **Text** field using TextMeshPro for formatting if needed.

**Example:**

```html
<b><color=#FFD700>Cabinet</color></b>\nContains control electronics and power supply
```
