# Removing virtual joystick in android

**URL:** <https://forums.unrealengine.com/t/removing-virtual-joystick-in-android/475919>\
**Category:** Mobile\
**Tags:** unreal-engine, joystick, question\
**Created:** [December 15, 2020, 2:03am UTC](https://forums.unrealengine.com/t/removing-virtual-joystick-in-android/475919 "2020-12-15T02:03:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subash4447](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Subash4447](https://forums.unrealengine.com/u/Subash4447)\
**Post date:** [December 15, 2020, 2:03am UTC](https://forums.unrealengine.com/t/removing-virtual-joystick-in-android/475919/1 "2020-12-15T02:03:43Z")

</div>

Hi, I am new to unreal engine. I am making simple android game for learning unreal engine. In my game I have a level as my 3d main menu. I added widgets to it. But my problem is in my main menu level it shows default virtual joystick with my widgets. But I don’t need them in my main menu but I need them in my game. So how to hide the joystick for main menu or for particular level where I don’t want joystick. Thanks in advance!!!

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [December 15, 2020, 5:26pm UTC](https://forums.unrealengine.com/t/removing-virtual-joystick-in-android/475919/2 "2020-12-15T17:26:12Z")

</div>

Hello! You can try to use **APlayerController** class methods - **SetVirtualJoystickVisibility** or **ActivateTouchInterface** with **NULL** argument

---

<div class="post-metadata">

**Author:** ![Subash4447](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Subash4447](https://forums.unrealengine.com/u/Subash4447)\
**Post date:** [December 16, 2020, 5:39am UTC](https://forums.unrealengine.com/t/removing-virtual-joystick-in-android/475919/3 "2020-12-16T05:39:52Z")

</div>

Hello, Kehel18 thanks for your answer it works perfect. But what’s difference between setVirtualJoystickVisibility and ActivateTouchInterface function. Please explain.

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [December 16, 2020, 6:17am UTC](https://forums.unrealengine.com/t/removing-virtual-joystick-in-android/475919/4 "2020-12-16T06:17:10Z")

</div>

As it comes from the names, **SetVirtualJoystickVisibility** just change visibility, nothing more. **ActivateTouchInterface** wuth **NULL** from another hand clean up any existing joystick and remove it from viewport

---

<div class="post-metadata">

**Author:** ![Subash4447](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Subash4447](https://forums.unrealengine.com/u/Subash4447)\
**Post date:** [December 16, 2020, 8:59am UTC](https://forums.unrealengine.com/t/removing-virtual-joystick-in-android/475919/5 "2020-12-16T08:59:06Z")

</div>

Thanks for your answer 🙂
