# WithTooltip(string)

> Configures the tooltip text for the option being built.

## Definition

* **Type:** Method
* **Namespace:** [Unity.GraphToolkit.Editor](/engine/6000.5/script-reference/unity/graphtoolkit/editor.md)
* **Assembly:** UnityEditor

```csharp
IOptionBuilder<in TData> WithTooltip(string tooltip)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The tooltip text to assign to the option.

### Returns

| Type                                                                                               | Description |
| -------------------------------------------------------------------------------------------------- | ----------- |
| [IOptionBuilder\<T>](/engine/6000.5/script-reference/unity/graphtoolkit/editor/ioptionbuilder1.md) |             |
