# ToolTip

This component can be used to add tooltips to all the UI components and any game objects. This is a utility component & it will not affect the functioning of Easy Grid Builder Pro.

<figure><img src="/files/ptoFopNBvNbJhCczdE9c" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="207">Property</th><th>Function</th></tr></thead><tbody><tr><td>Header</td><td>Header text of the tooltip. This is displayed on top of the tooltip.</td></tr><tr><td>Content</td><td>Content text of the tooltip. This is displayed below the Header. Only if this is empty the header text will get displayed.</td></tr><tr><td>Object Name As Header</td><td>Set the object name as the header instead of the Header text.</td></tr><tr><td>Object Build SO Tool Tip As Content</td><td>Do not use this feature - This is used in internal features in the UI system.</td></tr></tbody></table>

To use ToolTip simply add this component to a UI component or a game object and set values.&#x20;

When using with a UI component make sure the UI component is raycastable. And when using with a game object make sure that the object has a collider in it.

<figure><img src="/files/VXxVrkML2yKNw1BeuB3n" alt=""><figcaption></figcaption></figure>

As shown in the image above ToolTip component has been added to a cube game object and the object has a collider component. And the tooltip is displayed on the cube when hovered over with the mouse pointer.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://soulgamess-studio.gitbook.io/easy-grid-builder-pro-documentation/secondary-components/tooltip.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
