# How to make Button into Joystick when holding?

**URL:** <https://forums.unrealengine.com/t/how-to-make-button-into-joystick-when-holding/435170>\
**Category:** UI\
**Tags:** Mobile, virtual-joystick, unreal-engine, joystick, question, UMG\
**Created:** [October 6, 2018, 10:21pm UTC](https://forums.unrealengine.com/t/how-to-make-button-into-joystick-when-holding/435170 "2018-10-06T22:21:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZenomyErif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZenomyErif](https://forums.unrealengine.com/u/ZenomyErif)\
**Post date:** [October 6, 2018, 10:21pm UTC](https://forums.unrealengine.com/t/how-to-make-button-into-joystick-when-holding/435170/1 "2018-10-06T22:21:23Z")

</div>

I’m creating a top down shoot for android, and I need a very simple control

I need a button that transforms into a joystick when I press and drag, and the shoot when I realease.

 ![255863-example.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/6/8c64913c5cbf01379b040ff9e865dd24be0c2714.png)

It’s very simple, but I can’t find how to create this.

I also need a second button that can be enabled or disabled for the special attack.

 ![255864-example2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/5/2/652cbcb8fffd49359bf09342fb280a64a6a532d2.png)

On the left is enabled and the right is disabled.

Using UMG with drag and drop it’s very hard and…  
Touch interface with umg buttons doesn’t work very well

I don’t know what to do now.

Can someone help me?

---

<div class="post-metadata">

**Author:** ![HVS\_RHS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HVS\_RHS](https://forums.unrealengine.com/u/HVS_RHS)\
**Post date:** [June 15, 2020, 8:56am UTC](https://forums.unrealengine.com/t/how-to-make-button-into-joystick-when-holding/435170/2 "2020-06-15T08:56:19Z")

</div>

I know its old post but still…  
I have setup mine as showed in picture below.  
But problem is when axis value get zero it stops firing.

Did you get button working ?

 ![304452-vertual-joystick-button.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/a/94aa0d2f34acafc085bc5d7457137ba88d650d87.png)

---

<div class="post-metadata">

**Author:** ![AndFlukey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AndFlukey](https://forums.unrealengine.com/u/AndFlukey)\
**Post date:** [March 8, 2021, 4:40am UTC](https://forums.unrealengine.com/t/how-to-make-button-into-joystick-when-holding/435170/3 "2021-03-08T04:40:45Z")

</div>

How did you go about making the button into a joystick im trying to do the same thing but there nothing about it anywhere googled it been on reddit YouTube cant find anything  
Its old post but only thing I can find

Can you please help me even just making the widget button move on my screen would be a bonus
