# Inheriting Widget Blueprints

**URL:** <https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046>\
**Category:** UI\
**Tags:** unreal-engine, Widget, question, UMG\
**Created:** [November 28, 2014, 12:38am UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046 "2014-11-28T00:38:58Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajkosto](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rajkosto](https://forums.unrealengine.com/u/rajkosto)\
**Post date:** [November 28, 2014, 12:38am UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/1 "2014-11-28T00:38:58Z")

</div>

The ‘pick parent class’ menu does not show up when you make a new widget blueprint, but you can still go to Blueprint Props and reparent it from a drop down menu. However, after doing this, the widget designer content is STILL EMPTY. And now, when i use the child widget in place of the parent one, nothing shows up. Using the parent one shows up fine. All i wanted to do is override some functions in the child, not even change the design. Adding a sizebox and adding the original inherited variable widget to it as a child also does nothing.

How do you properly inherit Widget Blueprints ?

engine version 4.6 preview

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d901b194](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d901b194](https://forums.unrealengine.com/u/anonymous_user_d901b194)\
**Post date:** [February 20, 2015, 2:01am UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/2 "2015-02-20T02:01:43Z")

</div>

I am seeing the same thing. Will there be a way to do this in the future? I’m on 4.7 Preview Build at the moment.

---

<div class="post-metadata">

**Author:** ![John\_Alcatraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@John\_Alcatraz](https://forums.unrealengine.com/u/John_Alcatraz)\
**Post date:** [April 3, 2015, 8:57pm UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/3 "2015-04-03T20:57:21Z")

</div>

same problem here…

---

<div class="post-metadata">

**Author:** ![falola](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@falola](https://forums.unrealengine.com/u/falola)\
**Post date:** [May 25, 2015, 9:13am UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/4 "2015-05-25T09:13:13Z")

</div>

I would like to know as well (doesn’t work with 4.9)

---

<div class="post-metadata">

**Author:** ![SuperDuperYeah](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/superduperyeah/32/870312_2.png) [@SuperDuperYeah](https://forums.unrealengine.com/u/SuperDuperYeah)\
**Post date:** [June 29, 2015, 6:35am UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/5 "2015-06-29T06:35:32Z")

</div>

Actually… trying to reparent anything at the moment in 4.8.1 causes an instant crash on my side. I can create a widget from an existing one but it won’t show up in the “user created” list.

---

<div class="post-metadata">

**Author:** ![Chadvvick](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chadvvick](https://forums.unrealengine.com/u/Chadvvick)\
**Post date:** [August 6, 2015, 8:07am UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/6 "2015-08-06T08:07:00Z")

</div>

bump this. I’m trying to do the same thing for swapping out images that we use for text localization (stylized font only uses English letters, so we had to do everything with images). I was able to change the parent class and I binded all of the images to texture2D variables. The variables show up in the graph for the child, but nothing shows up in game when I try to create the widget and add it to the viewport.

If any of you guys have had luck or know of a workaround, please let me know. If I find a way to make this work, I’ll do the same. Thanks

---

<div class="post-metadata">

**Author:** ![Chadvvick](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chadvvick](https://forums.unrealengine.com/u/Chadvvick)\
**Post date:** [August 8, 2015, 9:40am UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/7 "2015-08-08T09:40:43Z")

</div>

So here is what I got to work for mine. I’m not sure if this applies to your situation or not.

I created the regular UMG for our Main Menu and set up all of the functions that controlled the button presses and other options that the player can select in the UMG. I then created a second UMG and instead of using the drop down for the parent class, I deleted the Root Panel and then dragged the original UMG for the Main Menu onto the canvas from the “user created widgets” section on the left hand side in the designer palette. I was then able to access all of the functions from the original Main Menu UMG. For the items that I wanted to change out, in our case the text images that I am using for the different languages, I binded the images to a Texture2D variable. On EventConstruct in the second UMG (the one I wanted to make the changes to) I grabbed a reference to the pasted Main Menu UMG and set the specific images there. Changing out the different UMGs was quite a task, but I am able to swap between the two UMGs by selecting a language from the Main Menu.

I hope this helps in some way. If you would like, I can take screen shots of any of the parts of the process or UMGs that I am using

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2709d010](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2709d010](https://forums.unrealengine.com/u/anonymous_user_2709d010)\
**Post date:** [September 29, 2015, 8:21am UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/8 "2015-09-29T08:21:04Z")

</div>

Is this really the canonical way to derive a UMG blueprint from another? Sounds more like a workaround to me.

The reparenting in the File menu works now in Version 4.9 but still, when I show the widget screen, nothing shows up, it is as if there was no cahnge in parent class at all

---

<div class="post-metadata">

**Author:** ![Smomo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Smomo](https://forums.unrealengine.com/u/Smomo)\
**Post date:** [November 8, 2015, 3:07pm UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/9 "2015-11-08T15:07:22Z")

</div>

Same problem here, the function and variables can be inherited but WONT display on the Variables panel (You can get variables and call function by code).

BUT, the Design never inherited

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8414d711](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8414d711](https://forums.unrealengine.com/u/anonymous_user_c8414d711)\
**Post date:** [December 1, 2015, 11:57am UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/10 "2015-12-01T11:57:46Z")

</div>

still can’t derive from Widget Blueprints properly in 4.10

but I might have found another dirty workaround:

1. Make a duplicate of the original Widget Blueprint
2. Change the parent class of the duplicate to the original you want to inherit from
3. Witness loads of error spam about already existing functions and variables
4. Repeat steps 5-8 for all functions:
5. copy the graph (without the function-enter node) AND memorize where the inputs connect
6. delete the function (in the functions list)
7. override the function
8. paste the function graph and connect inputs and exec chain  
9… Rename all the Elements in Designer which are also variables
9. Replace all references to those elements in the Graph
10. compile and enjoy

It’s strange that the inherited widget blueprint works fine after that (can still edit in Designer) but it doesn’t work at all when you make a new class that inherits from another like it’s supposed to be. Might be a minor Bug that causes major problems.

---

<div class="post-metadata">

**Author:** ![Heroico](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heroico](https://forums.unrealengine.com/u/Heroico)\
**Post date:** [May 8, 2016, 4:11pm UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/11 "2016-05-08T16:11:25Z")

</div>

Bump this! 4.11 (and 4.12 preview) and still no widget blueprint inheritance.

I am forced to duplicate and manually maintain the hierarchy by hand.

---

<div class="post-metadata">

**Author:** ![SuperDuperYeah](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/superduperyeah/32/870312_2.png) [@SuperDuperYeah](https://forums.unrealengine.com/u/SuperDuperYeah)\
**Post date:** [May 8, 2016, 4:28pm UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/12 "2016-05-08T16:28:26Z")

</div>

You can definitely create a widget a child widget when you go to create a new blueprint. Right click in the content browser, select blueprint and then search for the name of your widget class and create new one deriving from it.

---

<div class="post-metadata">

**Author:** ![Heroico](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heroico](https://forums.unrealengine.com/u/Heroico)\
**Post date:** [May 8, 2016, 5:08pm UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/13 "2016-05-08T17:08:09Z")

</div>

Well, I just tried this and things seem to be working.

(The trick is to try to create a “Blueprint Class”, not a “Widget Blueprint”)

Edit:  
Forgot to mention that the inherited designer is empty and you have to rebuild your UI’s contents.

---

<div class="post-metadata">

**Author:** ![Heroico](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heroico](https://forums.unrealengine.com/u/Heroico)\
**Post date:** [May 8, 2016, 5:08pm UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/14 "2016-05-08T17:08:54Z")

</div>

I tried **flip hazard** solution, in 4.1, but things broke very often when modifying the “base” blueprint.

My variant for working around this issue in 4.11 is:

1. Create a `MyWidgetBase_BP` that contains all of the logic and absolutely nothing in the designer. No components, no child widgets. Whenever the logic needs to reference a `ChildComponent`, it calls an empty `GetChildComponent()` accessor method.

2. Create a `MyWidgetDerived_BP`, delete every default in the designer, go to the graph, change parent class to `MyWidgetBase_BP`.

3. In each Derived blueprint, fill in the designer stuff, child widgets, etc. Override all the inherited (empty) child component accessor methods to return whatever you put in the designer.

4. Make sure that no blueprint references components directly, and that all use the (polymorphic) accessor methods.

Voilà! You have now a child class with all the parent class´ logic, ready to override.

Edit:  
Try @SuperDuperYeah’s suggestion.

---

<div class="post-metadata">

**Author:** ![SuperDuperYeah](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/superduperyeah/32/870312_2.png) [@SuperDuperYeah](https://forums.unrealengine.com/u/SuperDuperYeah)\
**Post date:** [May 8, 2016, 5:20pm UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/15 "2016-05-08T17:20:12Z")

</div>

Yep that’s… the only downside. Which you know… I hope would be implemented at some point (getting all your widgets in when creating a child).

---

<div class="post-metadata">

**Author:** ![AndrewFord](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/andrewford/32/755855_2.png) [@AndrewFord](https://forums.unrealengine.com/u/AndrewFord)\
**Post date:** [October 4, 2016, 12:14pm UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/16 "2016-10-04T12:14:54Z")

</div>

I guess best solution for this would be to use Interfaces 🙂

---

<div class="post-metadata">

**Author:** ![Bob3DGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bob3DGames](https://forums.unrealengine.com/u/Bob3DGames)\
**Post date:** [February 1, 2017, 10:21am UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/17 "2017-02-01T10:21:42Z")

</div>

I’m having the same problem. My code is a hideous mess as a result of this and having to manage two dozen duplicate widgets instead of some simple code that just casts back to the parent in order to set variables.

---

<div class="post-metadata">

**Author:** ![KVogler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KVogler](https://forums.unrealengine.com/u/KVogler)\
**Post date:** [February 1, 2017, 10:31am UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/18 "2017-02-01T10:31:19Z")

</div>

UMG Widget inheritance is indeed not possible (according to Nick Darnell). For that to work, the UMG designer would have to be able to merge different widget trees or something…

See here and here:

[UMG-widgets](https://forums.unrealengine.com/showthread.php?101308-FEATURE-REQUEST-UMG-widgets-should-reflect-parameter-changes-in-designer)

[Inheritance](https://forums.unrealengine.com/showthread.php?100961-FEATURE-REQUEST-UMG-widget-inheritance)

So although you cant reparent them, it will not work as imagined ☹

Nesting and interfaces seems to be (still) the way to go.

---

<div class="post-metadata">

**Author:** ![merkaba48](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@merkaba48](https://forums.unrealengine.com/u/merkaba48)\
**Post date:** [July 16, 2021, 1:23pm UTC](https://forums.unrealengine.com/t/inheriting-widget-blueprints/300046/19 "2021-07-16T13:23:08Z")

</div>

You can do what you wish and only override functions by starting as you already have - make a new widget, and reparent to your desired parent widget. You’ll see nothing there - but now delete the Canvas Panel object and recompile, and the parent widget will appear in its place. You can then work only in the Graph view and manipulate the parent as you like, but sadly as far as I can tell you are unable to add additional widgets to the Designer view. You could, however, use the Graph to create a widget and add it to an existing panel in the parent.
