# WithTooltip(string)

> Configures the tooltip text for the option being built.

## Definition

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

```csharp
IOptionBuilder 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](/engine/6000.6/script-reference/unity/graphtoolkit/editor/ioptionbuilder.md) |             |
