# HelpBoxWithButton(GUIContent, GUIContent)

> Make a help box with a message and button. Returns true, if button was pressed.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public bool HelpBoxWithButton(GUIContent messageContent, GUIContent buttonContent)
```

### Parameters

**** (\[GUIContent]\(/engine/6000.5/script-reference/unityengine/guicontent)): The message text.**** (\[GUIContent]\(/engine/6000.5/script-reference/unityengine/guicontent)): The button text.

### Returns

| Type                                                          | Description                          |
| ------------------------------------------------------------- | ------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true, if button was pressed. |
