# Extending color picker

**URL:** <https://forums.unrealengine.com/t/extending-color-picker/471773>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 22, 2020, 9:36pm UTC](https://forums.unrealengine.com/t/extending-color-picker/471773 "2020-09-22T21:36:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grabthar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@grabthar](https://forums.unrealengine.com/u/grabthar)\
**Post date:** [September 22, 2020, 9:36pm UTC](https://forums.unrealengine.com/t/extending-color-picker/471773/1 "2020-09-22T21:36:31Z")

</div>

Hello,  
I’m creating a color picker from a utility widget everything work but i don’t know if it is possible to call it natively in the editor like editing a color variable. Is it possible to replace default color picker with the one i made without modifyng the engine?

Looking closer to the engine source it’s called from OpenColorPicker(PickerArgs); the idea i have is to change this function and add at the beginning a delegate execution FOnOpenColorPicker() that return the PickerArgs this way i can process the data of FColorPickerArgs but it require a engine change because it’s not implemented.  
Is there a different solution?

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [September 23, 2020, 9:13pm UTC](https://forums.unrealengine.com/t/extending-color-picker/471773/2 "2020-09-23T21:13:23Z")

</div>

The function you found is part of widget, but you can look at it other easy around

You can try to override widgets that actully call that function that might be a lot easier to access and alter, for example with property editor you may able to hook in via detail customization

> **[FPropertyEditorModule::RegisterCustomPropertyTypeLayout](https://docs.unrealengine.com/5.1/en-US/API/Editor/PropertyEditor/FPropertyEditorModule/RegisterCustomPropertyTypeLayout/1/)**
>
> Registers a property type customization A property type is a specific \[FProperty\](API\\Runtime\\CoreUObject\\UObject\\FProperty) type, a struct, or enum type

> **[Details Panel Customization](https://docs.unrealengine.com/5.1/en-US/details-panel-customization-in-unreal-engine/)**
>
> Guide to customizing the display of properties in the Details panels within Unreal Editor.

Engine and editor has ton of hooks like for noninvasive engine and editor extension that so you might look in to that direction

---

<div class="post-metadata">

**Author:** ![grabthar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@grabthar](https://forums.unrealengine.com/u/grabthar)\
**Post date:** [September 30, 2020, 11:40am UTC](https://forums.unrealengine.com/t/extending-color-picker/471773/3 "2020-09-30T11:40:51Z")

</div>

Thank you for this!, i will look what i can do with this.
