# How hide all UMG in my gameviewport.

**URL:** <https://forums.unrealengine.com/t/how-hide-all-umg-in-my-gameviewport/418113>\
**Category:** UI\
**Tags:** hide, unreal-engine, question, UMG\
**Created:** [February 23, 2018, 2:51am UTC](https://forums.unrealengine.com/t/how-hide-all-umg-in-my-gameviewport/418113 "2018-02-23T02:51:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_43d9bf1e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_43d9bf1e](https://forums.unrealengine.com/u/anonymous_user_43d9bf1e)\
**Post date:** [February 23, 2018, 2:51am UTC](https://forums.unrealengine.com/t/how-hide-all-umg-in-my-gameviewport/418113/1 "2018-02-23T02:51:49Z")

</div>

Now I have record a video at runtime , but i can’t hide UMG , maybe I could get all UMG and set visibility . but that’s bad to my project . So I want to use the unreal existing mechanism to achieve it . How to do it?

---

<div class="post-metadata">

**Author:** ![Rumbleball](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Post date:** [February 23, 2018, 10:53am UTC](https://forums.unrealengine.com/t/how-hide-all-umg-in-my-gameviewport/418113/2 "2018-02-23T10:53:23Z")

</div>

Try GetGameViewportWidget an see if you can achieve something with that.

> **[UGameViewportClient](https://docs.unrealengine.com/4.27/en-US/API/Runtime/Engine/Engine/UGameViewportClient/)**
>
> A game viewport (\[FViewport\](API\\Runtime\\Engine\\FViewport)) is a high-level abstract interface for the platform specific rendering, audio, and input subsystems.

I gues there is also an option to not capture UI with the UMovieSceneCapture settings

EDIT  
[https://www.google.de/amp/s/amp.reddit.com/r/unrealengine/comments/3os6hx/hidingunhiding\_all\_widgets/](https://www.google.de/amp/s/amp.reddit.com/r/unrealengine/comments/3os6hx/hidingunhiding_all_widgets/)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_43d9bf1e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_43d9bf1e](https://forums.unrealengine.com/u/anonymous_user_43d9bf1e)\
**Post date:** [February 23, 2018, 11:38am UTC](https://forums.unrealengine.com/t/how-hide-all-umg-in-my-gameviewport/418113/3 "2018-02-23T11:38:16Z")

</div>

Perhaps my description is not clear enough . just like unreal’s “highresShot” . Rather than adjusting UMG’s visibility on the viewport , UMG is not saved during screenshots . That means I don’t want to record UMG when recording video.

---

<div class="post-metadata">

**Author:** ![Rumbleball](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Post date:** [February 23, 2018, 11:59am UTC](https://forums.unrealengine.com/t/how-hide-all-umg-in-my-gameviewport/418113/4 "2018-02-23T11:59:53Z")

</div>

There should be an option in UMovieSceneCapture

Alternatively you can look into the HighResShot and look for the rendering command used. You will then need to somehow apply that to UMovieSceneCapture.
