# Virtual Joystick Gone when RemoveAllWidgets Called. Set Visibility does Nothing w/ Controller Passed!

**URL:** <https://forums.unrealengine.com/t/virtual-joystick-gone-when-removeallwidgets-called-set-visibility-does-nothing-w-controller-passed/477320>\
**Category:** UI\
**Tags:** visibility, virtual-joystick, unreal-engine, remove, Widget, question, UMG\
**Created:** [January 15, 2021, 5:16pm UTC](https://forums.unrealengine.com/t/virtual-joystick-gone-when-removeallwidgets-called-set-visibility-does-nothing-w-controller-passed/477320 "2021-01-15T17:16:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_135021be](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_135021be](https://forums.unrealengine.com/u/anonymous_user_135021be)\
**Post date:** [January 15, 2021, 5:16pm UTC](https://forums.unrealengine.com/t/virtual-joystick-gone-when-removeallwidgets-called-set-visibility-does-nothing-w-controller-passed/477320/1 "2021-01-15T17:16:06Z")

</div>

Virtual Joysticks disappear when RemoveAllWidgets is called. I tried SetJoystickVisibility but it does nothing even though I passed the correct controller.

When I remove all widgets, how do I bring back the Virtual Joystick?  
Still having this issue.

---

<div class="post-metadata">

**Author:** ![aclem011](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aclem011](https://forums.unrealengine.com/u/aclem011)\
**Post date:** [January 16, 2021, 11:40pm UTC](https://forums.unrealengine.com/t/virtual-joystick-gone-when-removeallwidgets-called-set-visibility-does-nothing-w-controller-passed/477320/2 "2021-01-16T23:40:39Z")

</div>

You could try GetAllWidgetsOfClass() and then call RemoveFromParent() on them. That way it’s not getting ALL widgets including the joysticks.
