# Dynamically load widget class to widget component

**URL:** <https://forums.unrealengine.com/t/dynamically-load-widget-class-to-widget-component/459884>\
**Category:** Blueprint\
**Tags:** stereo-layers, unreal-engine, Widget, Blueprint, question\
**Created:** [December 24, 2019, 11:05pm UTC](https://forums.unrealengine.com/t/dynamically-load-widget-class-to-widget-component/459884 "2019-12-24T23:05:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeedahLenz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DeedahLenz](https://forums.unrealengine.com/u/DeedahLenz)\
**Post date:** [December 24, 2019, 11:05pm UTC](https://forums.unrealengine.com/t/dynamically-load-widget-class-to-widget-component/459884/1 "2019-12-24T23:05:34Z")

</div>

I have a widget component in a pawn blueprint placed in front of the camera to create an in world hud.

I have a level blueprint that on a custom event does multiple things from a selection of arrays. One is a widget class array which I can dynamically call from the array and add to the viewport no problem. I want to do the same but onto a widget component/or stereo layer and for this to change every time the level blueprint is called.

Any ideas welcome 😉

---

<div class="post-metadata">

**Author:** ![DeedahLenz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DeedahLenz](https://forums.unrealengine.com/u/DeedahLenz)\
**Post date:** [December 25, 2019, 7:46am UTC](https://forums.unrealengine.com/t/dynamically-load-widget-class-to-widget-component/459884/2 "2019-12-25T07:46:39Z")

</div>

…every time the custom event in the level blueprint is called.
