# SetEditorProperty doesn't work in Editor Utility Widget

**URL:** <https://forums.unrealengine.com/t/seteditorproperty-doesnt-work-in-editor-utility-widget/506652>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, editor, question, UE4-27, Blueprint\
**Created:** [March 14, 2022, 9:20am UTC](https://forums.unrealengine.com/t/seteditorproperty-doesnt-work-in-editor-utility-widget/506652 "2022-03-14T09:20:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CabbageOni](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CabbageOni](https://forums.unrealengine.com/u/CabbageOni)\
**Post date:** [March 14, 2022, 9:20am UTC](https://forums.unrealengine.com/t/seteditorproperty-doesnt-work-in-editor-utility-widget/506652/1 "2022-03-14T09:20:50Z")

</div>

Hello, I’ve been stuck trying to figure out how to edit a blueprint default variable through EditorUtilityWidget.

 ![Objective](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/0/c/00ce422c40a7d6af823f3543a6f5a39b6e003699.png)  
 ![Attempt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/7/cf7271369745369592b7f1d7abd45a70ce561fa8.png)  
 ![Listed](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/b/aabc508576ad151907848de922e60521a0afa22c.png)

Tried to find a reference of SetEditorProperty on the internet, but couldn’t find a single use case of it. Did I misunderstand its usage? If so, then what’s the correct way of doing it?

- Tried to follow the solution suggested by KristofMorva from:  
[How to edit Blueprint default variable via editor scripting?](https://forums.unrealengine.com/t/how-to-edit-blueprint-default-variable-via-editor-scripting/273701)
