> For the complete documentation index, see [llms.txt](https://soulgamess-studio.gitbook.io/easy-grid-builder-pro-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://soulgamess-studio.gitbook.io/easy-grid-builder-pro-documentation/secondary-components/tooltip.md).

# 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="https://4076857463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzgUHYggWkJIGXQGAerRm%2Fuploads%2FueeyfXQ8TKLKAKnHbAU9%2FScreenshot_42.png?alt=media&amp;token=3d957a27-ede3-4102-912d-53ecf5efccea" 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="https://4076857463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzgUHYggWkJIGXQGAerRm%2Fuploads%2Ft9c1Zlu1zSH82iwg1bT8%2FScreenshot_41.png?alt=media&amp;token=40ba7e31-a9f8-4712-b6b3-72924d5152ba" 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.
