# Hud/Widget in editor viewport, not in PIE

**URL:** <https://forums.unrealengine.com/t/hud-widget-in-editor-viewport-not-in-pie/150657>\
**Category:** Editor Scripting\
**Tags:** unreal-engine\
**Created:** [September 14, 2020, 10:10am UTC](https://forums.unrealengine.com/t/hud-widget-in-editor-viewport-not-in-pie/150657 "2020-09-14T10:10:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alatnet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alatnet](https://forums.unrealengine.com/u/alatnet)\
**Post date:** [September 14, 2020, 10:10am UTC](https://forums.unrealengine.com/t/hud-widget-in-editor-viewport-not-in-pie/150657/1 "2020-09-14T10:10:33Z")

</div>

I’ve been scouring the net to figure this out.  
I know that there’s Add To Viewport function for actors to allow adding huds/widgets to the viewport during gameplay but what im after is an editor based hud for the main viewport.  
What i mean is being able to have editor widgets or visuals for content creation in the viewport of the editor, specifically when viewing a camera.  
Does anyone have any clue how to do this?

---

<div class="post-metadata">

**Author:** ![Oleg\_Mazunin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oleg\_Mazunin](https://forums.unrealengine.com/u/Oleg_Mazunin)\
**Post date:** [January 4, 2021, 12:53pm UTC](https://forums.unrealengine.com/t/hud-widget-in-editor-viewport-not-in-pie/150657/2 "2021-01-04T12:53:55Z")

</div>

Hi, @alatnet!  
Have you found the answer to your question?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_614d1647](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_614d1647](https://forums.unrealengine.com/u/anonymous_user_614d1647)\
**Post date:** [September 30, 2021, 4:06am UTC](https://forums.unrealengine.com/t/hud-widget-in-editor-viewport-not-in-pie/150657/3 "2021-09-30T04:06:51Z")

</div>

Hi @alatnet  
Have you figured out how you did it?

---

<div class="post-metadata">

**Author:** ![alatnet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alatnet](https://forums.unrealengine.com/u/alatnet)\
**Post date:** [September 30, 2021, 4:50am UTC](https://forums.unrealengine.com/t/hud-widget-in-editor-viewport-not-in-pie/150657/4 "2021-09-30T04:50:00Z")

</div>

No, i havent. I’ve been on hiatus for a while.

---

<div class="post-metadata">

**Author:** ![Naocan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Naocan](https://forums.unrealengine.com/u/Naocan)\
**Post date:** [September 30, 2021, 6:58am UTC](https://forums.unrealengine.com/t/hud-widget-in-editor-viewport-not-in-pie/150657/5 "2021-09-30T06:58:50Z")

</div>

Hi,

You can use Editor Utility Widgets for this. They simply are widgets that you can spawn on a window (Similar to Content Browser) that you can snap into places and they contain the widget you place inside.

> **[Editor Utility Widgets](https://docs.unrealengine.com/4.27/en-US/InteractiveExperiences/UMG/UserGuide/EditorUtilityWidgets/)**
>
> Describes Editor Utility Widgets, and how to create them.

---

<div class="post-metadata">

**Author:** ![Phreezer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Phreezer](https://forums.unrealengine.com/u/Phreezer)\
**Post date:** [October 22, 2021, 8:48am UTC](https://forums.unrealengine.com/t/hud-widget-in-editor-viewport-not-in-pie/150657/6 "2021-10-22T08:48:24Z")

</div>

This isn’t what the poster is asking. They’re asking about a widget in the editor viewport before going into PIE mode. Not a floating sociable widget.

I too would like to know if this is possible. Moreover, if like to know if it is possible to handle user input through the viewport.

---

<div class="post-metadata">

**Author:** ![tuatec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tuatec](https://forums.unrealengine.com/u/tuatec)\
**Post date:** [January 26, 2023, 10:41pm UTC](https://forums.unrealengine.com/t/hud-widget-in-editor-viewport-not-in-pie/150657/7 "2023-01-26T22:41:59Z")

</div>

I think the TweenController in the UE5 animation is what you guys are looking for.  
It is available here

 ![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/c/6/2c682f9533d53c1912b292ee82cfbe77d1e76f23.jpeg)  
 ![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/5/3/a5307a4ab935a34d77908c653e161bfeb8598c45.png)
