# Add a button in detail panel

**URL:** <https://forums.unrealengine.com/t/add-a-button-in-detail-panel/455177>\
**Category:** UI\
**Tags:** button, details-panel, details-panel-ui, unreal-engine, question\
**Created:** [September 11, 2019, 10:19am UTC](https://forums.unrealengine.com/t/add-a-button-in-detail-panel/455177 "2019-09-11T10:19:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e577384b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e577384b](https://forums.unrealengine.com/u/anonymous_user_e577384b)\
**Post date:** [September 11, 2019, 10:19am UTC](https://forums.unrealengine.com/t/add-a-button-in-detail-panel/455177/1 "2019-09-11T10:19:35Z")

</div>

Hi,

I want to know how to add a button in detail panel(like screenshot).

How about SNew(SButton)???

If must use SButton to create a button, how to add it in detail panel???

I have not found any button variables that can be declared as UPROPERTY

![286967-button.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/1/921ec3c9bfea1932eddf79095f329a040dc00d93.png)

---

<div class="post-metadata">

**Author:** ![BlueMind\_Studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueMind\_Studio](https://forums.unrealengine.com/u/BlueMind_Studio)\
**Post date:** [September 11, 2019, 10:23am UTC](https://forums.unrealengine.com/t/add-a-button-in-detail-panel/455177/2 "2019-09-11T10:23:05Z")

</div>

Not C++ Related, but you can create an Event in BP and tick “Editor Callable” - that leads to the button you’re showing

---

<div class="post-metadata">

**Author:** ![Dwarfmine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dwarfmine](https://forums.unrealengine.com/u/Dwarfmine)\
**Post date:** [September 23, 2022, 8:46am UTC](https://forums.unrealengine.com/t/add-a-button-in-detail-panel/455177/3 "2022-09-23T08:46:20Z")

</div>

You can specify a function as CallInEditor and the detail panel will show you a button for it.

```auto
UFUNCTION(BlueprintCallable, CallInEditor)

```
