# How to hide controls after going to menu?

**URL:** <https://forums.unrealengine.com/t/how-to-hide-controls-after-going-to-menu/647528>\
**Category:** Mobile\
**Tags:** unreal-engine, UE5-0, Android, question\
**Created:** [September 13, 2022, 6:41am UTC](https://forums.unrealengine.com/t/how-to-hide-controls-after-going-to-menu/647528 "2022-09-13T06:41:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BeastNectus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BeastNectus](https://forums.unrealengine.com/u/BeastNectus)\
**Post date:** [September 13, 2022, 6:41am UTC](https://forums.unrealengine.com/t/how-to-hide-controls-after-going-to-menu/647528/1 "2022-09-13T06:41:51Z")

</div>

**When I go to menu the button is still there how can I hide that controls ?**

 ![1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/8/e/c8e3044a6784976ea118f7e386cdb38a6071eae3.jpeg)

 ![2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/b/7ab201b77c73892932dc35d686098c5ff40bd50a.jpeg)

**This is the blueprint of my RETURN TO GAME MENU**

 ![3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/2/da2bd9dc5469c50dc6f213f1bd7b3157a73159c7.png)

---

<div class="post-metadata">

**Author:** ![herb64](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@herb64](https://forums.unrealengine.com/u/herb64)\
**Post date:** [September 13, 2022, 7:35am UTC](https://forums.unrealengine.com/t/how-to-hide-controls-after-going-to-menu/647528/2 "2022-09-13T07:35:17Z")

</div>

If your controls are also made with a UMG Widget, it should simply be possible by using the SetVisibility function for these controls.

---

<div class="post-metadata">

**Author:** ![BeastNectus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BeastNectus](https://forums.unrealengine.com/u/BeastNectus)\
**Post date:** [September 13, 2022, 7:36am UTC](https://forums.unrealengine.com/t/how-to-hide-controls-after-going-to-menu/647528/3 "2022-09-13T07:36:52Z")

</div>

Can you make example blueprint of that ?

---

<div class="post-metadata">

**Author:** ![herb64](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@herb64](https://forums.unrealengine.com/u/herb64)\
**Post date:** [September 13, 2022, 7:44am UTC](https://forums.unrealengine.com/t/how-to-hide-controls-after-going-to-menu/647528/4 "2022-09-13T07:44:24Z")

</div>

Here’s a simple example triggered from a player blueprint. Main Widget is a UMG Widget Blueprint. If you have the reference to the widget, it is important, that the Variables have checked the _Is Variable_ in the Widget designer, so that the element is accessible - here the IMG Feed Chicken variable.  
Now you can set the visibility, e.g. “Collapsed” like in the example. The hover help shows you a description of the available states.

 ![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/d/80df51e3db3732498d6643beb16e973840683371.png)

For the “Is Variable”

![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/b/cab689a0b0e259065602c4612599db2c2b18194f.png)

---

<div class="post-metadata">

**Author:** ![BeastNectus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BeastNectus](https://forums.unrealengine.com/u/BeastNectus)\
**Post date:** [September 15, 2022, 12:07am UTC](https://forums.unrealengine.com/t/how-to-hide-controls-after-going-to-menu/647528/5 "2022-09-15T00:07:28Z")

</div>

What I mean is when I play and use my pause menu to return to MAIN MENU. My vehicle controls appear in the menu. I think this was cause by the BP\_SUV\_CHAOS. How can I remove that pawn when I go back to main menu?

 ![SUV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/d/50d76970c2522ee82d46977e716e22b7810446b0.jpeg)
