# Custom Editor Buttons

**URL:** <https://forums.unrealengine.com/t/custom-editor-buttons/471016>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 8, 2020, 12:01pm UTC](https://forums.unrealengine.com/t/custom-editor-buttons/471016 "2020-09-08T12:01:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gurulis99](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gurulis99](https://forums.unrealengine.com/u/Gurulis99)\
**Post date:** [September 8, 2020, 12:01pm UTC](https://forums.unrealengine.com/t/custom-editor-buttons/471016/1 "2020-09-08T12:01:03Z")

</div>

Hello guys,  
how can i create a custom button when i right click to an object? For example i want to right click to an actor inside of the viewport and copy the transform. how can I do? I cant find anything… I found about the EditorUtilltyBlueprint but I cant find anything…

---

<div class="post-metadata">

**Author:** ![Gurulis99](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gurulis99](https://forums.unrealengine.com/u/Gurulis99)\
**Post date:** [September 22, 2020, 10:45am UTC](https://forums.unrealengine.com/t/custom-editor-buttons/471016/2 "2020-09-22T10:45:13Z")

</div>

Add in the UFUNCTION() the CallInEditor, this will enable you to add buttons to the category of the function.For eg, if we have UFUNCTION(CallInEditor, Category=“Test”), in the Category named Test a button will appear.
